|
@@ -252,8 +252,8 @@ export default {
|
|
|
}
|
|
|
});
|
|
|
},
|
|
|
- goTo(path){
|
|
|
- this.$router.push(path)
|
|
|
+ goTo(path) {
|
|
|
+ this.$router.push(path);
|
|
|
},
|
|
|
findPhone() {
|
|
|
let params = { un: this.phoneNum };
|
|
@@ -266,10 +266,12 @@ export default {
|
|
|
return;
|
|
|
}
|
|
|
this.isU = res.data[0][0].type;
|
|
|
+ this.login();
|
|
|
} else {
|
|
|
+ this.$message.error("此账号不存在");
|
|
|
+ return;
|
|
|
this.isU = false;
|
|
|
}
|
|
|
- this.login();
|
|
|
console.log(res.data[0][0]);
|
|
|
})
|
|
|
.catch((err) => {
|
|
@@ -283,7 +285,7 @@ export default {
|
|
|
let params = [
|
|
|
{
|
|
|
uname: this.phoneNum,
|
|
|
- upassword: this.password,
|
|
|
+ password: this.password,
|
|
|
// sqlpassword: this.sqlPassword,
|
|
|
},
|
|
|
];
|