Browse Source

去掉验证

zhengkaixin 1 year ago
parent
commit
bb2962cc87
1 changed files with 4 additions and 21 deletions
  1. 4 21
      pages/charge/index.vue

+ 4 - 21
pages/charge/index.vue

@@ -567,27 +567,10 @@
 					})
 					return
 				}
-				if ( this.listTypeIndex==0&& this.submitForm.hour == 0 && this.user.availableBalance < 5) {
-					uni.showModal({
-						title: '支付',
-						content: '余额不足5元无法开启充满自停,是否充值?',
-						success: res => {
-							if (res.confirm) {
-								//付钱  改为组件
-								this.gotoUrl("pages/user/recharge");
-
-							} else if (res.cancel) {
-								console.log('用户点击取消');
-							}
-						}
-					});
-				} else {
-					if( this.listTypeIndex==0){
-						this.showmodel = true;
-					}else{
-						this.confirm(true)
-					}
-					
+				if( this.listTypeIndex==0){
+					this.showmodel = true;
+				}else{
+					this.confirm(true)
 				}