hmp %!s(int64=4) %!d(string=hai) anos
pai
achega
a761598f04
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      pagesC/pages/checkstand/index.vue

+ 1 - 1
pagesC/pages/checkstand/index.vue

@@ -390,7 +390,7 @@
 				this.payShow=false
 			},
 			async cancelTrade(){
-				if (this.payConfirmType!='paySuccess') {
+				if (this.payConfirmType!='paySuccess' && this.$isNotEmpty(this.payParams)) {
 					let res=await this.$api.pay.cancelTrade(this.payParams)
 				}
 			}