feat(projects): add plugin excel export (#561)

This commit is contained in:
Ohh
2024-07-21 20:54:18 +08:00
committed by GitHub
parent 447bda2b48
commit c425822b3a
8 changed files with 222 additions and 3 deletions

View File

@ -41,6 +41,7 @@ export const views: Record<LastLevelRouteKey, RouteComponent | (() => Promise<Ro
plugin_copy: () => import("@/views/plugin/copy/index.vue"),
plugin_editor_markdown: () => import("@/views/plugin/editor/markdown/index.vue"),
plugin_editor_quill: () => import("@/views/plugin/editor/quill/index.vue"),
plugin_excel: () => import("@/views/plugin/excel/index.vue"),
plugin_icon: () => import("@/views/plugin/icon/index.vue"),
plugin_map: () => import("@/views/plugin/map/index.vue"),
plugin_pinyin: () => import("@/views/plugin/pinyin/index.vue"),

View File

@ -413,6 +413,17 @@ export const generatedRoutes: GeneratedRoute[] = [
}
]
},
{
name: 'plugin_excel',
path: '/plugin/excel',
component: 'view.plugin_excel',
meta: {
title: 'plugin_excel',
i18nKey: 'route.plugin_excel',
icon: 'ri:file-excel-2-line',
keepAlive: true
}
},
{
name: 'plugin_icon',
path: '/plugin/icon',

View File

@ -209,6 +209,7 @@ const routeMap: RouteMap = {
"plugin_editor": "/plugin/editor",
"plugin_editor_markdown": "/plugin/editor/markdown",
"plugin_editor_quill": "/plugin/editor/quill",
"plugin_excel": "/plugin/excel",
"plugin_icon": "/plugin/icon",
"plugin_map": "/plugin/map",
"plugin_pinyin": "/plugin/pinyin",