Ver código fonte

0元隐藏支付按钮

zaijin 3 anos atrás
pai
commit
f874f750c8
1 arquivos alterados com 3 adições e 0 exclusões
  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 || '订单无数据',