增加上传的动态路径方法 增加用户录入功能 修复了切换账号必须刷新才能改变菜单的bug
This commit is contained in:
@@ -30,6 +30,7 @@ export const user = {
|
||||
state.token = ""
|
||||
state.expiresAt = ""
|
||||
router.push({ name: 'login', replace: true })
|
||||
window.location.reload()
|
||||
},
|
||||
ResetUserInfo(state, userInfo = {}) {
|
||||
state.userInfo = {...state.userInfo,
|
||||
|
||||
Reference in New Issue
Block a user