stash
This commit is contained in:
@@ -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",
|
||||||
|
|||||||
Reference in New Issue
Block a user