Commit e790b64d by zhuoym

fix登录bug

parent ac54439e
Showing with 2 additions and 2 deletions
......@@ -271,7 +271,7 @@ export default {
Bus.$emit('changeUserToken', sessionStorage.getItem('token'));
sessionStorage.setItem('isClientLogin', "false");
this.$router.push('/');
this.$Message.success('登录成功!');
// this.$Message.success('登录成功!');
}, res => {
// alert(res.responseResult);
this.form.captcha = '';
......@@ -297,7 +297,7 @@ export default {
sessionStorage.setItem('auth', JSON.stringify({tf_bx_add: "快速报修",tf_bx_list: "我的报修"}));
sessionStorage.setItem('isClientLogin', "true");
this.$router.push('/');
this.$Message.success('登录成功!');
// this.$Message.success('登录成功!');
}, res => {
// alert(res.responseResult);
this.form.captcha = '';
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment