diff --git a/layouts/admin/AdminLayout.uvue b/layouts/admin/AdminLayout.uvue index 40c95cb7..15712b18 100644 --- a/layouts/admin/AdminLayout.uvue +++ b/layouts/admin/AdminLayout.uvue @@ -63,7 +63,8 @@ - + + @@ -116,6 +117,13 @@ import type { TabItem } from '@/layouts/admin/store/adminNavStore.uts' import { getComponent } from '@/layouts/admin/router/adminComponentMap.uts' +const props = defineProps({ + currentPage: { + type: String, + default: '' + } +}) + // 侧边栏宽度配置 (CRMEB 1:1) const ASIDE_W = 70 const SUB_W = 200 @@ -374,6 +382,9 @@ let resizeTid: any = null onMounted(() => { initNavState() + if (props.currentPage != '') { + openRoute(props.currentPage as string) + } // 初始化窗口宽度 windowWidth.value = uni.getWindowInfo().windowWidth diff --git a/pages/mall/admin/app/mobile/version.uvue b/pages/mall/admin/app/mobile/version.uvue index 1b4b8b38..9b5b8f75 100644 --- a/pages/mall/admin/app/mobile/version.uvue +++ b/pages/mall/admin/app/mobile/version.uvue @@ -1,24 +1,41 @@ + - + diff --git a/pages/mall/admin/app/pc/config.uvue b/pages/mall/admin/app/pc/config.uvue index 9b8117f7..fd002329 100644 --- a/pages/mall/admin/app/pc/config.uvue +++ b/pages/mall/admin/app/pc/config.uvue @@ -1,24 +1,94 @@ +