shish 4 лет назад
Родитель
Сommit
fb468b94ea
1 измененных файлов с 1 добавлено и 15 удалено
  1. 1 15
      hdPad/src/pages/home/components/toPay.vue

+ 1 - 15
hdPad/src/pages/home/components/toPay.vue

@@ -97,21 +97,7 @@ export default {
         },
         cancelPayFn(){
             let that = this
-            uni.showLoading({title: '确认中'})
-            codePayCheck({id:this.orderId}).then(res=>{
-                uni.hideLoading()
-                if(res.code == 1){
-                    if(res.data.returnStatus == 'SUCCESS'){
-                        that.showSuccess = true
-                        setTimeout(function(){
-                            that.payFinish()
-                        },1500)
-                    }
-                }
-            })
-            setTimeout(function(){
-                that.$refs.cancelPayRef.open('center')
-            },1500)
+            that.$refs.cancelPayRef.open('center')
         },
         confirmToCancel(){
             clearInterval(this.T)