feat: 登入后跳转

This commit is contained in:
chenjianxing 2020-09-23 16:08:00 +08:00
parent 2e13831daa
commit c050331e4b

View File

@ -143,12 +143,14 @@
normalLogin() {
this.result = this.$post("signin", this.form, response => {
saveLocalStorage(response);
sessionStorage.setItem('loginSuccess', 'true');
this.getLanguage(response.data.language);
});
},
ldapLogin() {
this.result = this.$post("ldap/signin", this.form, response => {
saveLocalStorage(response);
sessionStorage.setItem('loginSuccess', 'true');
this.getLanguage(response.data.language);
});
},