添加页面成功后,当前页面自动锚点到,添加成功的页面

This commit is contained in:
expdsn 2024-11-19 18:17:58 +08:00
parent 230ea69786
commit 972210bb06
1 changed files with 1 additions and 0 deletions

View File

@ -257,6 +257,7 @@ export default defineComponent(() => {
name: selected.value.name,
id: uuid()
})
layout.state.currentPage = layout.currentMode.pages.length - 1
}
menu.showEditPage = false