|
@@ -644,12 +644,12 @@ export default {
|
|
|
trigger: ["change", "blur"],
|
|
|
},
|
|
|
{
|
|
|
- validator: (rule, value, callback) => {
|
|
|
- return this.$u.test.idCard(value);
|
|
|
- },
|
|
|
- message: '身份证号不正确',
|
|
|
- trigger: ['change', 'blur']
|
|
|
- }
|
|
|
+ validator: (rule, value, callback) => {
|
|
|
+ return this.$u.test.idCard(value);
|
|
|
+ },
|
|
|
+ message: "身份证号不正确",
|
|
|
+ trigger: ["change", "blur"],
|
|
|
+ },
|
|
|
],
|
|
|
},
|
|
|
isUse: false,
|
|
@@ -689,7 +689,7 @@ export default {
|
|
|
tel: this.form.tel,
|
|
|
code: this.form.code,
|
|
|
pwd: this.form.pwd,
|
|
|
- idcard: this.form.idcard
|
|
|
+ idcard: this.form.idcard,
|
|
|
};
|
|
|
if (uni.getStorageSync("newUser_sc")) {
|
|
|
datas["shareCode"] = uni.getStorageSync("newUser_sc");
|
|
@@ -741,6 +741,7 @@ export default {
|
|
|
// if (this.scanCode) { // pc扫码进来登录成功
|
|
|
// this.submitCode()
|
|
|
// } else
|
|
|
+ // !that.isBack
|
|
|
if (!that.isBack) {
|
|
|
uni.reLaunch({
|
|
|
url: "/pages/index/index",
|
|
@@ -980,4 +981,4 @@ export default {
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
-</style>
|
|
|
+</style>
|