diff --git a/src/layout/sider/index.tsx b/src/layout/sider/index.tsx index 78d6ec9..26e5e39 100644 --- a/src/layout/sider/index.tsx +++ b/src/layout/sider/index.tsx @@ -257,6 +257,7 @@ export default defineComponent(() => { name: selected.value.name, id: uuid() }) + layout.state.currentPage = layout.currentMode.pages.length - 1 } menu.showEditPage = false