From 23b9997bd3a54ed15cb0fff20d508abacce26868 Mon Sep 17 00:00:00 2001 From: Seven Date: Mon, 22 Dec 2025 03:40:28 +0700 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=9B=B4=E6=96=B0=E7=94=9F=E4=BA=A7?= =?UTF-8?q?=E7=8E=AF=E5=A2=83=E9=85=8D=E7=BD=AE=EF=BC=8C=E8=B0=83=E6=95=B4?= =?UTF-8?q?=E8=B7=AF=E7=94=B1=E9=A1=BA=E5=BA=8F=EF=BC=8C=E4=BC=98=E5=8C=96?= =?UTF-8?q?=E9=93=B6=E8=A1=8C=E4=BF=A1=E6=81=AF=E5=B1=95=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.prod | 2 +- src/router/elegant/routes.ts | 22 +++++++-------- src/typings/components.d.ts | 10 ------- src/views/user/bank/index.vue | 53 +++++++++++++++++------------------ 4 files changed, 37 insertions(+), 50 deletions(-) diff --git a/.env.prod b/.env.prod index b33bddf..6f38732 100644 --- a/.env.prod +++ b/.env.prod @@ -1,5 +1,5 @@ # backend service base url, prod environment -VITE_SERVICE_BASE_URL=http://192.168.1.36:9528 +VITE_SERVICE_BASE_URL=http://192.168.1.27:9528 # other backend service base url, prod environment VITE_OTHER_SERVICE_BASE_URL= `{}` diff --git a/src/router/elegant/routes.ts b/src/router/elegant/routes.ts index 7e58c59..ec26124 100644 --- a/src/router/elegant/routes.ts +++ b/src/router/elegant/routes.ts @@ -184,16 +184,6 @@ export const generatedRoutes: GeneratedRoute[] = [ order: 3 }, children: [ - { - name: 'withdraw_fiat', - path: '/withdraw/fiat', - component: 'view.withdraw_fiat', - meta: { - title: 'withdraw_fiat', - i18nKey: 'route.withdraw_fiat', - order: 1 - }, - }, { name: 'withdraw_approved', path: '/withdraw/approved', @@ -202,8 +192,18 @@ export const generatedRoutes: GeneratedRoute[] = [ title: 'withdraw_approved', i18nKey: 'route.withdraw_approved', order: 2 - }, + } }, + { + name: 'withdraw_fiat', + path: '/withdraw/fiat', + component: 'view.withdraw_fiat', + meta: { + title: 'withdraw_fiat', + i18nKey: 'route.withdraw_fiat', + order: 1 + } + } ] } ]; diff --git a/src/typings/components.d.ts b/src/typings/components.d.ts index 2d4242b..e270e9b 100644 --- a/src/typings/components.d.ts +++ b/src/typings/components.d.ts @@ -13,7 +13,6 @@ export {} declare module 'vue' { export interface GlobalComponents { AppProvider: typeof import('./../components/common/app-provider.vue')['default'] - Base: typeof import('./../components/table/base.vue')['default'] BetterScroll: typeof import('./../components/custom/better-scroll.vue')['default'] ButtonIcon: typeof import('./../components/custom/button-icon.vue')['default'] CountTo: typeof import('./../components/custom/count-to.vue')['default'] @@ -47,7 +46,6 @@ declare module 'vue' { NButton: typeof import('naive-ui')['NButton'] NCard: typeof import('naive-ui')['NCard'] NCheckbox: typeof import('naive-ui')['NCheckbox'] - NCol: typeof import('naive-ui')['NCol'] NColorPicker: typeof import('naive-ui')['NColorPicker'] NDataTable: typeof import('naive-ui')['NDataTable'] NDescriptions: typeof import('naive-ui')['NDescriptions'] @@ -72,13 +70,10 @@ declare module 'vue' { NMessageProvider: typeof import('naive-ui')['NMessageProvider'] NModal: typeof import('naive-ui')['NModal'] NNotificationProvider: typeof import('naive-ui')['NNotificationProvider'] - NPopconfirm: typeof import('naive-ui')['NPopconfirm'] NPopover: typeof import('naive-ui')['NPopover'] - NRow: typeof import('naive-ui')['NRow'] NScrollbar: typeof import('naive-ui')['NScrollbar'] NSelect: typeof import('naive-ui')['NSelect'] NSpace: typeof import('naive-ui')['NSpace'] - NSpin: typeof import('naive-ui')['NSpin'] NStatistic: typeof import('naive-ui')['NStatistic'] NSwitch: typeof import('naive-ui')['NSwitch'] NTab: typeof import('naive-ui')['NTab'] @@ -106,7 +101,6 @@ declare module 'vue' { // For TSX support declare global { const AppProvider: typeof import('./../components/common/app-provider.vue')['default'] - const Base: typeof import('./../components/table/base.vue')['default'] const BetterScroll: typeof import('./../components/custom/better-scroll.vue')['default'] const ButtonIcon: typeof import('./../components/custom/button-icon.vue')['default'] const CountTo: typeof import('./../components/custom/count-to.vue')['default'] @@ -140,7 +134,6 @@ declare global { const NButton: typeof import('naive-ui')['NButton'] const NCard: typeof import('naive-ui')['NCard'] const NCheckbox: typeof import('naive-ui')['NCheckbox'] - const NCol: typeof import('naive-ui')['NCol'] const NColorPicker: typeof import('naive-ui')['NColorPicker'] const NDataTable: typeof import('naive-ui')['NDataTable'] const NDescriptions: typeof import('naive-ui')['NDescriptions'] @@ -165,13 +158,10 @@ declare global { const NMessageProvider: typeof import('naive-ui')['NMessageProvider'] const NModal: typeof import('naive-ui')['NModal'] const NNotificationProvider: typeof import('naive-ui')['NNotificationProvider'] - const NPopconfirm: typeof import('naive-ui')['NPopconfirm'] const NPopover: typeof import('naive-ui')['NPopover'] - const NRow: typeof import('naive-ui')['NRow'] const NScrollbar: typeof import('naive-ui')['NScrollbar'] const NSelect: typeof import('naive-ui')['NSelect'] const NSpace: typeof import('naive-ui')['NSpace'] - const NSpin: typeof import('naive-ui')['NSpin'] const NStatistic: typeof import('naive-ui')['NStatistic'] const NSwitch: typeof import('naive-ui')['NSwitch'] const NTab: typeof import('naive-ui')['NTab'] diff --git a/src/views/user/bank/index.vue b/src/views/user/bank/index.vue index 85d5bd2..64d7030 100644 --- a/src/views/user/bank/index.vue +++ b/src/views/user/bank/index.vue @@ -1,9 +1,9 @@