fix: fixed change roles bug ()

This commit is contained in:
花裤衩 2019-05-20 11:04:17 +08:00 committed by Pan
parent 73babc4880
commit cdf3ea06c7
1 changed files with 3 additions and 0 deletions
src/store/modules

View File

@ -115,6 +115,9 @@ const actions = {
// dynamically add accessible routes
router.addRoutes(accessRoutes)
// reset visited views and cached views
dispatch('tagsView/delAllViews', null, { root: true })
resolve()
})
}