Parcourir la source

0元隐藏支付按钮

zaijin il y a 3 ans
Parent
commit
f874f750c8
1 fichiers modifiés avec 3 ajouts et 0 suppressions
  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 || '订单无数据',