用户资料

This commit is contained in:
唐明明
2022-01-20 15:48:57 +08:00
parent 93a20f2d3d
commit e491f798e4
13 changed files with 169 additions and 56 deletions

View File

@@ -82,20 +82,20 @@ export default {
smsAuth({
mobileNo: this.phone,
code: this.code,
})
.then((res) => {
this.$store.commit(
"setToken",
res.token_type + " " + res.access_token
);
this.$Router.back();
})
.catch((err) => {
uni.showToast({
title: err.message,
icon: "none",
});
});
}).then((res) => {
console.log(111)
this.$store.commit(
"setToken",
res.token_type + " " + res.access_token
);
this.$Router.back();
}).catch((err) => {
console.log(2222)
uni.showToast({
title: err.message,
icon: "none",
});
});
},
// 获取验证码
getPhoneCode() {