Browse Source

异步处理

shish 4 years ago
parent
commit
4b169f8fce
1 changed files with 3 additions and 2 deletions
  1. 3 2
      hdPad/src/pages/home/components/toPay.vue

+ 3 - 2
hdPad/src/pages/home/components/toPay.vue

@@ -96,11 +96,12 @@ export default {
                         setTimeout(function(){
                             that.payFinish()
                         },1500)
-                    }else{
-                        that.$refs.cancelPayRef.open('center')
                     }
                 }
             })
+            setTimeout(function(){
+                that.$refs.cancelPayRef.open('center')
+            },1500)
         },
         confirmToCancel(){
             this.$emit('cancelPay')