fly 4 өдөр өмнө
parent
commit
de325b41a6

+ 1 - 1
src/views/BankCard.vue

@@ -103,7 +103,7 @@ export default {
       // Remove any non-digit characters
       const value = event.target.value.replace(/\D/g, '');
       this.banknumInput = value;
-      this.formData.banknum = Number(value) || '';
+      this.formData.banknum = value; // 始终用字符串
     },
     async getBankInfo() {
       try {