@@ -274,6 +274,12 @@
}
host(params).then(res => {
this.payCallData = res.data
+ //错误返回判断
+ if(res.code == 0){
+ this.$msg(res.msg)
+ return false
+ }
+
if (this.form.payWay == 0) {
wexinPay(res.data, this.paySuccess, this.payFail)
} else if (this.form.payWay == 1) {