Skip to content

Commit 2191335

Browse files
committed
chore: 调整关于项目路由结构
1 parent c2463fc commit 2191335

File tree

3 files changed

+23
-16
lines changed

3 files changed

+23
-16
lines changed

src/assets/icons/arco.svg

Lines changed: 1 addition & 1 deletion
Loading

src/router/route.ts

Lines changed: 13 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -69,21 +69,19 @@ export const systemRoutes: RouteRecordRaw[] = [
6969
meta: { title: '关于项目', icon: 'apps', hidden: false, sort: 999 },
7070
children: [
7171
{
72-
path: '/about/document',
73-
name: 'AboutDocument',
74-
meta: { title: '项目文档', icon: 'file', hidden: false, keepAlive: true },
75-
children: [
76-
{
77-
path: '/about/document/api',
78-
component: () => import('@/views/about/document/api/index.vue'),
79-
meta: { title: 'API文档', icon: 'continew', hidden: false, keepAlive: true },
80-
},
81-
{
82-
path: '/about/document/arco-design-vue',
83-
component: () => import('@/views/about/document/arco-design-vue/index.vue'),
84-
meta: { title: 'Arco Design文档', icon: 'arco', hidden: false, keepAlive: true },
85-
},
86-
],
72+
path: '/about/document/continew',
73+
component: () => import('@/views/about/document/continew/index.vue'),
74+
meta: { title: '在线文档', icon: 'continew', hidden: false, keepAlive: true },
75+
},
76+
{
77+
path: '/about/document/api',
78+
component: () => import('@/views/about/document/api/index.vue'),
79+
meta: { title: '接口文档', icon: 'continew', hidden: false, keepAlive: true },
80+
},
81+
{
82+
path: '/about/document/arco-design-vue',
83+
component: () => import('@/views/about/document/arco-design-vue/index.vue'),
84+
meta: { title: 'Arco Design文档', icon: 'arco', hidden: false, keepAlive: true },
8785
},
8886
{
8987
path: '/about/source',
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
<template>
2+
<GiIframe src="https://continew.top"></GiIframe>
3+
</template>
4+
5+
<script lang='ts' setup>
6+
defineOptions({ name: 'AboutDocumentContiNew' })
7+
</script>
8+
9+
<style scoped lang="scss"></style>

0 commit comments

Comments
 (0)