@@ -74,6 +74,7 @@
if (!this.hasLogin) {
this.$u.route({
url: "pages/login/index",
+ type: "reLaunch"
})
}
},
@@ -128,9 +128,7 @@
}else {
- this.$refs.uToast.show({
- title: res.data.msg,
- })
+ this.$u.toast(res.data.msg);
}).catch(err => {
console.log(err)
@@ -161,7 +159,6 @@
}).then(res => {
console.log(res)
if (res.data.code == 0) {
-
if (this.$refs.uCode.canGetCode) {
this.$refs.uCode.start();
} else {