login
This commit is contained in:
@@ -50,6 +50,7 @@
|
||||
getCookie,
|
||||
deleteSessionStorage
|
||||
} from '@/utils/base.js';
|
||||
import { setCsrfToken } from '@/utils/csrf';
|
||||
import store from '@/store';
|
||||
import UpdatePassword from './part/UpdatePassword.vue';
|
||||
export default {
|
||||
@@ -115,6 +116,10 @@
|
||||
delCookie('isLogin');
|
||||
/*删除基本信息*/
|
||||
delCookie('baseInfo');
|
||||
/*删除个人信息*/
|
||||
delCookie('userinfo');
|
||||
/*清空内存中的 csrf token */
|
||||
setCsrfToken('');
|
||||
/*删除用户菜单*/
|
||||
deleteSessionStorage('rolelist');
|
||||
/*删除用户权限*/
|
||||
|
||||
Reference in New Issue
Block a user