This commit is contained in:
cansnow
2025-11-27 03:55:38 +08:00
parent 1626f0c52a
commit 198c3dd4a5
24 changed files with 2043 additions and 201 deletions
+6 -6
View File
@@ -50,9 +50,9 @@
comfirmEying: false,
codeValue: "",
userInfo: {
phoneNumber: "",
mobile: "",
email: "",
areaCode: "",
region: "",
nickname: "",
password: "",
confirmPassword: "",
@@ -135,9 +135,9 @@
platform: uni.$u.os(),
autoLogin: true,
...this.userInfo,
areaCode: `+${this.userInfo.areaCode}`,
region: `+${this.userInfo.region}`,
password: md5(this.userInfo.password),
mobile: this.userInfo.phoneNumber
mobile: this.userInfo.mobile
};
try {
await businessRegister(options);
@@ -162,11 +162,11 @@
saveLoginInfo() {
uni.setStorage({
key: "lastPhoneNumber",
data: this.userInfo.phoneNumber,
data: this.userInfo.mobile,
});
uni.setStorage({
key: "lastAreaCode",
data: this.userInfo.areaCode,
data: this.userInfo.region,
});
},
},