From aceaa78144032843c543b0ba3a54bed9c529c0c1 Mon Sep 17 00:00:00 2001
From: zhengyiming <540361168@qq.com>
Date: 星期一, 13 十月 2025 13:54:07 +0800
Subject: [PATCH] fix: s

---
 vite.config.ts                                                |    5 +++++
 .eslintrc-auto-import.json                                    |    1 +
 src/views/EnterpriseManage/components/WechatConfigureView.vue |    3 ++-
 auto-imports.d.ts                                             |    2 ++
 4 files changed, 10 insertions(+), 1 deletions(-)

diff --git a/.eslintrc-auto-import.json b/.eslintrc-auto-import.json
index 52bffd2..d6693d1 100644
--- a/.eslintrc-auto-import.json
+++ b/.eslintrc-auto-import.json
@@ -118,6 +118,7 @@
     "EnumWalletTransactionStatus": true,
     "EnumWalletTransactionStatusText": true,
     "EnumWeChatPayApplymentBankAccountType": true,
+    "EnumWeChatPayApplymentBankAccountTypeText": true,
     "EnumWeChatPayApplymentCertType": true,
     "EnumWeChatPayApplymentCertTypeTextForSHZZ": true,
     "EnumWeChatPayApplymentCertTypeTextForSYDW": true,
diff --git a/auto-imports.d.ts b/auto-imports.d.ts
index f76939f..053525e 100644
--- a/auto-imports.d.ts
+++ b/auto-imports.d.ts
@@ -122,6 +122,7 @@
   const EnumWalletTransactionStatus: typeof import('./src/constants/apiEnum')['EnumWalletTransactionStatus']
   const EnumWalletTransactionStatusText: typeof import('./src/constants/finance')['EnumWalletTransactionStatusText']
   const EnumWeChatPayApplymentBankAccountType: typeof import('./src/constants/apiEnum')['EnumWeChatPayApplymentBankAccountType']
+  const EnumWeChatPayApplymentBankAccountTypeText: typeof import('./src/constants/enterpriseWallet')['EnumWeChatPayApplymentBankAccountTypeText']
   const EnumWeChatPayApplymentCertType: typeof import('./src/constants/apiEnum')['EnumWeChatPayApplymentCertType']
   const EnumWeChatPayApplymentCertTypeTextForSHZZ: typeof import('./src/constants/enterpriseWallet')['EnumWeChatPayApplymentCertTypeTextForSHZZ']
   const EnumWeChatPayApplymentCertTypeTextForSYDW: typeof import('./src/constants/enterpriseWallet')['EnumWeChatPayApplymentCertTypeTextForSYDW']
@@ -460,6 +461,7 @@
     readonly EnumWalletTransactionStatus: UnwrapRef<typeof import('./src/constants/apiEnum')['EnumWalletTransactionStatus']>
     readonly EnumWalletTransactionStatusText: UnwrapRef<typeof import('./src/constants/finance')['EnumWalletTransactionStatusText']>
     readonly EnumWeChatPayApplymentBankAccountType: UnwrapRef<typeof import('./src/constants/apiEnum')['EnumWeChatPayApplymentBankAccountType']>
+    readonly EnumWeChatPayApplymentBankAccountTypeText: UnwrapRef<typeof import('./src/constants/enterpriseWallet')['EnumWeChatPayApplymentBankAccountTypeText']>
     readonly EnumWeChatPayApplymentCertType: UnwrapRef<typeof import('./src/constants/apiEnum')['EnumWeChatPayApplymentCertType']>
     readonly EnumWeChatPayApplymentCertTypeTextForSHZZ: UnwrapRef<typeof import('./src/constants/enterpriseWallet')['EnumWeChatPayApplymentCertTypeTextForSHZZ']>
     readonly EnumWeChatPayApplymentCertTypeTextForSYDW: UnwrapRef<typeof import('./src/constants/enterpriseWallet')['EnumWeChatPayApplymentCertTypeTextForSYDW']>
diff --git a/src/views/EnterpriseManage/components/WechatConfigureView.vue b/src/views/EnterpriseManage/components/WechatConfigureView.vue
index f39f332..6af44bc 100644
--- a/src/views/EnterpriseManage/components/WechatConfigureView.vue
+++ b/src/views/EnterpriseManage/components/WechatConfigureView.vue
@@ -18,6 +18,7 @@
           v-model.trim="form.contact_type"
           :value-enum="EnumWeChatPayApplymentContactTypeText"
           :button-style="false"
+          :convertEnumValue="false"
         />
       </ProFormItemV2>
       <ProFormItemV2
@@ -984,7 +985,7 @@
 
 const form = reactive({
   business_code: '',
-  contact_type: '' as any as EnumWeChatPayApplymentContactType,
+  contact_type: EnumWeChatPayApplymentContactType.LEGAL,
   contact_name: '',
   contact_id_doc_type: '' as any as EnumWeChatPayApplymentIdDocType,
   contact_id_number: '',
diff --git a/vite.config.ts b/vite.config.ts
index 8df0b81..9ce738e 100644
--- a/vite.config.ts
+++ b/vite.config.ts
@@ -94,6 +94,11 @@
             }
           : {},
     },
+    css: {
+      preprocessorOptions: {
+        scss: { api: 'modern-compiler' },
+      },
+    },
     plugins: getPluginsList(command, { VITE_LEGACY, VITE_COMPRESSION, VITE_AppType }),
     define: {
       __INTLIFY_PROD_DEVTOOLS__: false,

--
Gitblit v1.9.1