支持接口鉴权,支持修改密码,

This commit is contained in:
panlinlin
2021-04-14 16:33:10 +08:00
parent 123ce171d2
commit cb5849d8a1
20 changed files with 752 additions and 16 deletions

View File

@@ -63,7 +63,7 @@ export default {
this.$axios({
method: 'get',
url:"/api/user/login",
url:"/api/user/login",
params: loginParam
}).then(function (res) {
console.log(JSON.stringify(res));
@@ -81,7 +81,7 @@ export default {
});
}
}).catch(function (error) {
that.$message.error(error.response.statusText);
that.$message.error(error.response.data.msg);
that.isLoging = false;
});
},