浏览代码

0元隐藏支付按钮

zaijin 3 年之前
父节点
当前提交
f874f750c8
共有 1 个文件被更改,包括 3 次插入0 次删除
  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 || '订单无数据',