Explorar o código

0元隐藏支付按钮

zaijin %!s(int64=3) %!d(string=hai) anos
pai
achega
f874f750c8
Modificáronse 1 ficheiros con 3 adicións e 0 borrados
  1. 3 0
      pages/geomagnetismLock/geomagnetismLock.vue

+ 3 - 0
pages/geomagnetismLock/geomagnetismLock.vue

@@ -225,6 +225,9 @@
 								}
 							});
 						}
+						if (res.data.payAmount == 0) {
+							this.is_pay = false
+						}
 					} else {
 						this.$refs.uToast.show({
 							title: res.msg || '订单无数据',