Browse Source

兑换按钮无法点击bug修改

sunlupeng 1 year ago
parent
commit
ecbf2b118e
1 changed files with 3 additions and 5 deletions
  1. 3 5
      src/views/HomeView/RedeemView.vue

+ 3 - 5
src/views/HomeView/RedeemView.vue

@@ -372,11 +372,6 @@ export default {
         },
         changeDeliveryType(val){
             this.disabled = true;
-            // if(val==''){
-            //     this.total = this.data.price;
-            //     this.skuCount = 1;
-            //     this.disabled = true;
-            // }
             if(val=='0' || val==''){
                 this.total = this.data.price;
                 this.skuCount = 1;
@@ -400,6 +395,9 @@ export default {
             if(val=='4'){
                 this.total = this.data.price;
                 this.skuCount = 1;
+                if(this.phoneNumber){
+                    this.disabled = false;
+                }
             }
         },
         setTab() {