From 22b639f2f111c76a1a1c168604b9e485554ae09e Mon Sep 17 00:00:00 2001 From: Seven Date: Thu, 15 Jan 2026 01:06:56 +0700 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=9B=B4=E6=96=B0=E8=B7=AF=E7=94=B1?= =?UTF-8?q?=E9=85=8D=E7=BD=AE=EF=BC=8C=E8=B0=83=E6=95=B4=E7=94=A8=E6=88=B7?= =?UTF-8?q?=E5=88=97=E8=A1=A8=E8=B7=AF=E7=94=B1=E4=BD=8D=E7=BD=AE=EF=BC=8C?= =?UTF-8?q?=E7=A7=BB=E9=99=A4=E9=80=9A=E7=9F=A5=E8=A7=86=E5=9B=BE=E4=B8=AD?= =?UTF-8?q?=E7=9A=84=E6=93=8D=E4=BD=9C=E5=88=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/router/elegant/routes.ts | 18 +++++++++--------- src/typings/components.d.ts | 2 -- src/views/notification/index.vue | 12 ++++++------ 3 files changed, 15 insertions(+), 17 deletions(-) diff --git a/src/router/elegant/routes.ts b/src/router/elegant/routes.ts index 2868fe6..3d3db00 100644 --- a/src/router/elegant/routes.ts +++ b/src/router/elegant/routes.ts @@ -246,15 +246,6 @@ export const generatedRoutes: GeneratedRoute[] = [ order: 4 }, children: [ - { - name: 'user_list', - path: '/user/list', - component: 'view.user_list', - meta: { - title: 'user_list', - i18nKey: 'route.user_list' - } - }, { name: 'user_bankcard', path: '/user/bankcard', @@ -264,6 +255,15 @@ export const generatedRoutes: GeneratedRoute[] = [ i18nKey: 'route.user_bankcard' } }, + { + name: 'user_list', + path: '/user/list', + component: 'view.user_list', + meta: { + title: 'user_list', + i18nKey: 'route.user_list' + } + } ] }, { diff --git a/src/typings/components.d.ts b/src/typings/components.d.ts index acde836..e6044bc 100644 --- a/src/typings/components.d.ts +++ b/src/typings/components.d.ts @@ -42,7 +42,6 @@ declare module 'vue' { LookForward: typeof import('./../components/custom/look-forward.vue')['default'] MarkdownEditor: typeof import('./../components/markdown-editor/index.vue')['default'] MenuToggler: typeof import('./../components/common/menu-toggler.vue')['default'] - NAlert: typeof import('naive-ui')['NAlert'] NBadge: typeof import('naive-ui')['NBadge'] NBreadcrumb: typeof import('naive-ui')['NBreadcrumb'] NBreadcrumbItem: typeof import('naive-ui')['NBreadcrumbItem'] @@ -137,7 +136,6 @@ declare global { const LookForward: typeof import('./../components/custom/look-forward.vue')['default'] const MarkdownEditor: typeof import('./../components/markdown-editor/index.vue')['default'] const MenuToggler: typeof import('./../components/common/menu-toggler.vue')['default'] - const NAlert: typeof import('naive-ui')['NAlert'] const NBadge: typeof import('naive-ui')['NBadge'] const NBreadcrumb: typeof import('naive-ui')['NBreadcrumb'] const NBreadcrumbItem: typeof import('naive-ui')['NBreadcrumbItem'] diff --git a/src/views/notification/index.vue b/src/views/notification/index.vue index abfa142..fe12004 100644 --- a/src/views/notification/index.vue +++ b/src/views/notification/index.vue @@ -104,13 +104,13 @@ const columns: TableBaseColumns = [ render: (row: any) => { return useDateFormat(row.createdAt, 'YYYY-MM-DD HH:mm:ss').value; } - }, - { - title: '操作', - key: 'operations', - fixed: 'right', - width: 120 } + // { + // title: '操作', + // key: 'operations', + // fixed: 'right', + // width: 120 + // } ]; function handleAdd() {