This commit is contained in:
2022-02-11 17:56:25 +08:00
parent 35cb716299
commit a35908280d

View File

@@ -83,14 +83,12 @@ export default {
mobileNo: this.phone, mobileNo: this.phone,
code: this.code, code: this.code,
}).then((res) => { }).then((res) => {
console.log(111)
this.$store.commit( this.$store.commit(
"setToken", "setToken",
res.token_type + " " + res.access_token res.token_type + " " + res.access_token
); );
this.$Router.back(); this.$Router.back();
}).catch((err) => { }).catch((err) => {
console.log(2222)
uni.showToast({ uni.showToast({
title: err.message, title: err.message,
icon: "none", icon: "none",