From 2b8b9059b9f65f7232bdd09735c4e8aec203e832 Mon Sep 17 00:00:00 2001 From: Seven Date: Thu, 22 Jan 2026 16:52:32 +0700 Subject: [PATCH] =?UTF-8?q?feat:=20=E7=A7=BB=E9=99=A4=E4=B8=BB=E9=A1=B5?= =?UTF-8?q?=E7=9B=B8=E5=85=B3=E7=BB=84=E4=BB=B6=E5=8F=8A=E8=B7=AF=E7=94=B1?= =?UTF-8?q?=E9=85=8D=E7=BD=AE=EF=BC=8C=E4=BC=98=E5=8C=96=E8=B7=AF=E7=94=B1?= =?UTF-8?q?=E6=98=A0=E5=B0=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/router/elegant/imports.ts | 1 - src/router/elegant/routes.ts | 10 ---------- src/router/elegant/transform.ts | 1 - src/typings/components.d.ts | 8 -------- src/typings/elegant-router.d.ts | 3 --- 5 files changed, 23 deletions(-) diff --git a/src/router/elegant/imports.ts b/src/router/elegant/imports.ts index 79e5609..e4e3c62 100644 --- a/src/router/elegant/imports.ts +++ b/src/router/elegant/imports.ts @@ -21,7 +21,6 @@ export const views: Record Promise import("@/views/_builtin/iframe-page/[url].vue"), login: () => import("@/views/_builtin/login/index.vue"), check: () => import("@/views/check/index.vue"), - home: () => import("@/views/home/index.vue"), kyc: () => import("@/views/kyc/index.vue"), news: () => import("@/views/news/index.vue"), product: () => import("@/views/product/index.vue"), diff --git a/src/router/elegant/routes.ts b/src/router/elegant/routes.ts index 7390005..b73a73f 100644 --- a/src/router/elegant/routes.ts +++ b/src/router/elegant/routes.ts @@ -49,16 +49,6 @@ export const generatedRoutes: GeneratedRoute[] = [ order: 5 } }, - // { - // name: 'home', - // path: '/home', - // component: 'layout.base$view.home', - // meta: { - // title: 'home', - // i18nKey: 'route.home', - // order: 1 - // } - // }, { name: 'iframe-page', path: '/iframe-page/:url', diff --git a/src/router/elegant/transform.ts b/src/router/elegant/transform.ts index 7114a35..730f814 100644 --- a/src/router/elegant/transform.ts +++ b/src/router/elegant/transform.ts @@ -167,7 +167,6 @@ const routeMap: RouteMap = { "404": "/404", "500": "/500", "check": "/check", - "home": "/home", "iframe-page": "/iframe-page/:url", "kyc": "/kyc", "login": "/login/:module(pwd-login|code-login|register|reset-pwd|bind-wechat)?", diff --git a/src/typings/components.d.ts b/src/typings/components.d.ts index 2140cb8..dd45d25 100644 --- a/src/typings/components.d.ts +++ b/src/typings/components.d.ts @@ -28,7 +28,6 @@ declare module 'vue' { IconIcRoundDelete: typeof import('~icons/ic/round-delete')['default'] IconIcRoundPlus: typeof import('~icons/ic/round-plus')['default'] IconIcRoundUpload: typeof import('~icons/ic/round-upload')['default'] - IconLocalBanner: typeof import('~icons/local/banner')['default'] IconLocalLogo: typeof import('~icons/local/logo')['default'] IconMdiArrowDownThin: typeof import('~icons/mdi/arrow-down-thin')['default'] IconMdiArrowUpThin: typeof import('~icons/mdi/arrow-up-thin')['default'] @@ -67,8 +66,6 @@ declare module 'vue' { NInput: typeof import('naive-ui')['NInput'] NInputGroup: typeof import('naive-ui')['NInputGroup'] NInputNumber: typeof import('naive-ui')['NInputNumber'] - NList: typeof import('naive-ui')['NList'] - NListItem: typeof import('naive-ui')['NListItem'] NLoadingBarProvider: typeof import('naive-ui')['NLoadingBarProvider'] NMenu: typeof import('naive-ui')['NMenu'] NMessageProvider: typeof import('naive-ui')['NMessageProvider'] @@ -85,7 +82,6 @@ declare module 'vue' { NSwitch: typeof import('naive-ui')['NSwitch'] NTab: typeof import('naive-ui')['NTab'] NTabs: typeof import('naive-ui')['NTabs'] - NThing: typeof import('naive-ui')['NThing'] NTooltip: typeof import('naive-ui')['NTooltip'] NUpload: typeof import('naive-ui')['NUpload'] NWatermark: typeof import('naive-ui')['NWatermark'] @@ -125,7 +121,6 @@ declare global { const IconIcRoundDelete: typeof import('~icons/ic/round-delete')['default'] const IconIcRoundPlus: typeof import('~icons/ic/round-plus')['default'] const IconIcRoundUpload: typeof import('~icons/ic/round-upload')['default'] - const IconLocalBanner: typeof import('~icons/local/banner')['default'] const IconLocalLogo: typeof import('~icons/local/logo')['default'] const IconMdiArrowDownThin: typeof import('~icons/mdi/arrow-down-thin')['default'] const IconMdiArrowUpThin: typeof import('~icons/mdi/arrow-up-thin')['default'] @@ -164,8 +159,6 @@ declare global { const NInput: typeof import('naive-ui')['NInput'] const NInputGroup: typeof import('naive-ui')['NInputGroup'] const NInputNumber: typeof import('naive-ui')['NInputNumber'] - const NList: typeof import('naive-ui')['NList'] - const NListItem: typeof import('naive-ui')['NListItem'] const NLoadingBarProvider: typeof import('naive-ui')['NLoadingBarProvider'] const NMenu: typeof import('naive-ui')['NMenu'] const NMessageProvider: typeof import('naive-ui')['NMessageProvider'] @@ -182,7 +175,6 @@ declare global { const NSwitch: typeof import('naive-ui')['NSwitch'] const NTab: typeof import('naive-ui')['NTab'] const NTabs: typeof import('naive-ui')['NTabs'] - const NThing: typeof import('naive-ui')['NThing'] const NTooltip: typeof import('naive-ui')['NTooltip'] const NUpload: typeof import('naive-ui')['NUpload'] const NWatermark: typeof import('naive-ui')['NWatermark'] diff --git a/src/typings/elegant-router.d.ts b/src/typings/elegant-router.d.ts index 830a489..2a9482a 100644 --- a/src/typings/elegant-router.d.ts +++ b/src/typings/elegant-router.d.ts @@ -21,7 +21,6 @@ declare module "@elegant-router/types" { "404": "/404"; "500": "/500"; "check": "/check"; - "home": "/home"; "iframe-page": "/iframe-page/:url"; "kyc": "/kyc"; "login": "/login/:module(pwd-login|code-login|register|reset-pwd|bind-wechat)?"; @@ -66,7 +65,6 @@ declare module "@elegant-router/types" { | "404" | "500" | "check" - | "home" | "iframe-page" | "kyc" | "login" @@ -98,7 +96,6 @@ declare module "@elegant-router/types" { | "iframe-page" | "login" | "check" - | "home" | "kyc" | "news" | "product"