Forráskód Böngészése

个人-申请贷款金额输入优化

panyong 4 éve
szülő
commit
6c356189a6
1 módosított fájl, 2 hozzáadás és 1 törlés
  1. 2 1
      htmldev/loan/src/views/loan/apply/index.vue

+ 2 - 1
htmldev/loan/src/views/loan/apply/index.vue

@@ -143,7 +143,7 @@
     computed: {
       amount: {
         get () {
-          return this.postData.orderPrice ? this.postData.orderPrice * 1 : ''
+          return this.postData.orderPrice * 1 ? this.postData.orderPrice : 0
         },
         set (value) {
           this.postData.orderPrice = value
@@ -312,6 +312,7 @@
           orderProductId: this.orderProductId,
           ...this.postData
         }
+        console.log(postData)
         delete postData.capture
         if (!this.verifyData()) {
           Toast({