bug修改

This commit is contained in:
fengachen
2021-10-20 14:14:41 +08:00
parent 3d502ba1a1
commit ff9dcf42aa
5 changed files with 12 additions and 33 deletions
+7
View File
@@ -78,6 +78,7 @@ Page({
title: res.message,
icon: "none",
duration: 800,
});
if (that.data.prepage === 'guoji') {
wx.navigateTo({
@@ -88,6 +89,12 @@ Page({
url: '../signUpPage/signUpPage',
})
}
}else{
wx.showToast({
title: res.message,
icon:"none",
duration:800
})
}
}).catch(err => {
console.log(err);
+1 -1
View File
@@ -14,7 +14,7 @@
<view class="wx-form-item">
<view class="wx-form-label validate">信用代码:</view>
<view class="wx-form-value">
<input name="dutyCode" name="postCode" bindblur="validateDutyCode" data-message='请输入信用代码' data-errmsg='请输入正确的信用代码' placeholder="请输入信用代码" maxlength="50" />
<input name="dutyCode" bindblur="validateDutyCode" data-message='请输入信用代码' data-errmsg='请输入正确的信用代码' placeholder="请输入信用代码" maxlength="50" />
</view>
</view>