测试wiki的移动端展示

This commit is contained in:
暮光:城中城
2021-05-13 22:02:10 +08:00
parent da5e0e5017
commit ff5434a173
3 changed files with 87 additions and 25 deletions

View File

@@ -1,5 +1,6 @@
import GlobalLayout from './components/layouts/GlobalLayout'
import ShareLayout from './components/layouts/ShareLayout'
import ShareMobileLayout from './components/layouts/ShareMobileLayout'
let routes = [
{path: '/', redirect: '/home'},
@@ -27,6 +28,14 @@ let routes = [
{path: '/page/share/view', name: 'WIKI-内容展示', component: () => import('@/views/page/share/pc/View')},
]
},
{
path: '/',
name: '页面管理',
component: ShareMobileLayout,
children: [
{path: '/page/share/mobile/home', name: 'WIKI-开放文档', component: () => import('@/views/page/share/mobile/Home')},
]
},
];
export default routes;