添加页面成功后,当前页面自动锚点到,添加成功的页面
This commit is contained in:
parent
230ea69786
commit
972210bb06
|
@ -257,6 +257,7 @@ export default defineComponent(() => {
|
||||||
name: selected.value.name,
|
name: selected.value.name,
|
||||||
id: uuid()
|
id: uuid()
|
||||||
})
|
})
|
||||||
|
layout.state.currentPage = layout.currentMode.pages.length - 1
|
||||||
}
|
}
|
||||||
|
|
||||||
menu.showEditPage = false
|
menu.showEditPage = false
|
||||||
|
|
Loading…
Reference in New Issue