diff --git a/src/layout/components/TagsView/index.vue b/src/layout/components/TagsView/index.vue index a749c9a..4448455 100644 --- a/src/layout/components/TagsView/index.vue +++ b/src/layout/components/TagsView/index.vue @@ -557,6 +557,7 @@ cursor: pointer; display: inline-block; position: relative; + flex: 0 0 auto; span { float: left; diff --git a/src/router/modules/docs.ts b/src/router/modules/docs.ts new file mode 100644 index 0000000..679d982 --- /dev/null +++ b/src/router/modules/docs.ts @@ -0,0 +1,19 @@ +import { RouteRecordRaw } from 'vue-router'; +import { Layout } from '@/router/constant'; +import { DocumentTextOutline } from '@vicons/ionicons5'; +import { renderIcon } from '@/utils/index'; + +const routes: Array = [ + { + path: '/external', + name: 'https://jekip.github.io/docs/', + component: Layout, + meta: { + title: '项目文档', + icon: renderIcon(DocumentTextOutline), + sort: 8, + }, + }, +]; + +export default routes;