Skip to content

Commit

Permalink
chore: 调整关于项目路由结构
Browse files Browse the repository at this point in the history
Charles7c committed Nov 23, 2024

Unverified

No user is associated with the committer email.
1 parent c2463fc commit 2191335
Showing 3 changed files with 23 additions and 16 deletions.
2 changes: 1 addition & 1 deletion src/assets/icons/arco.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
28 changes: 13 additions & 15 deletions src/router/route.ts
Original file line number Diff line number Diff line change
@@ -69,21 +69,19 @@ export const systemRoutes: RouteRecordRaw[] = [
meta: { title: '关于项目', icon: 'apps', hidden: false, sort: 999 },
children: [
{
path: '/about/document',
name: 'AboutDocument',
meta: { title: '项目文档', icon: 'file', hidden: false, keepAlive: true },
children: [
{
path: '/about/document/api',
component: () => import('@/views/about/document/api/index.vue'),
meta: { title: 'API文档', icon: 'continew', hidden: false, keepAlive: true },
},
{
path: '/about/document/arco-design-vue',
component: () => import('@/views/about/document/arco-design-vue/index.vue'),
meta: { title: 'Arco Design文档', icon: 'arco', hidden: false, keepAlive: true },
},
],
path: '/about/document/continew',
component: () => import('@/views/about/document/continew/index.vue'),
meta: { title: '在线文档', icon: 'continew', hidden: false, keepAlive: true },
},
{
path: '/about/document/api',
component: () => import('@/views/about/document/api/index.vue'),
meta: { title: '接口文档', icon: 'continew', hidden: false, keepAlive: true },
},
{
path: '/about/document/arco-design-vue',
component: () => import('@/views/about/document/arco-design-vue/index.vue'),
meta: { title: 'Arco Design文档', icon: 'arco', hidden: false, keepAlive: true },
},
{
path: '/about/source',
9 changes: 9 additions & 0 deletions src/views/about/document/continew/index.vue
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<template>
<GiIframe src="https://continew.top"></GiIframe>
</template>

<script lang='ts' setup>
defineOptions({ name: 'AboutDocumentContiNew' })
</script>

<style scoped lang="scss"></style>

0 comments on commit 2191335

Please sign in to comment.