diff --git a/src/assets/icons/about.svg b/src/assets/icons/about.svg new file mode 100644 index 00000000..e40d6913 --- /dev/null +++ b/src/assets/icons/about.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/assets/icons/editor.svg b/src/assets/icons/editor.svg index b6903e21..2951b84b 100644 --- a/src/assets/icons/editor.svg +++ b/src/assets/icons/editor.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/src/assets/icons/link.svg b/src/assets/icons/link.svg new file mode 100644 index 00000000..686d8b45 --- /dev/null +++ b/src/assets/icons/link.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/locales/en/modules/route.ts b/src/locales/en/modules/route.ts index 4a25d7c0..8b4d24f4 100644 --- a/src/locales/en/modules/route.ts +++ b/src/locales/en/modules/route.ts @@ -26,6 +26,7 @@ const route = { nested1_2_2: 'Route1-2-2', nested1_3: 'Route1-3', nested2: 'Route2', + about: 'About', }, log: { importError: 'The file has no default export', diff --git a/src/locales/zh-ch/modules/route.ts b/src/locales/zh-ch/modules/route.ts index 71188856..4c2da22e 100644 --- a/src/locales/zh-ch/modules/route.ts +++ b/src/locales/zh-ch/modules/route.ts @@ -26,6 +26,7 @@ const route = { nested1_2_2: '路由1-2-2', nested1_3: '路由1-3', nested2: '路由2', + about: '关于', }, log: { importError: '文件没有默认导出', diff --git a/src/router/modules/otherRoute/otherRoute.ts b/src/router/modules/otherRoute/otherRoute.ts index da531cbb..57119826 100644 --- a/src/router/modules/otherRoute/otherRoute.ts +++ b/src/router/modules/otherRoute/otherRoute.ts @@ -206,7 +206,23 @@ const safeManagerRoutes: Array = [ children: [ { path: 'https://gitlab.com/SuperCuteXiaoSi/vite-vue3-template', - meta: { title: t('route.pathName.thirdParty'), icon: 'iEL-operation' }, + meta: { title: t('route.pathName.thirdParty'), icon: 'link' }, + }, + ], + }, + { + path: '', + component: Layout, + redirect: '/about', + name: '', + alwaysShow: false, + meta: { title: '', icon: 'about' }, + children: [ + { + path: 'about', + name: 'RtAbout', + component: () => import('@/views/about/index.vue'), + meta: { title: t('route.pathName.about') }, }, ], }, diff --git a/src/views/about/index.vue b/src/views/about/index.vue new file mode 100644 index 00000000..1ccb8611 --- /dev/null +++ b/src/views/about/index.vue @@ -0,0 +1,4 @@ + +