fix: fixed change roles bug (#2072)
This commit is contained in:
parent
73babc4880
commit
cdf3ea06c7
|
@ -115,6 +115,9 @@ const actions = {
|
||||||
// dynamically add accessible routes
|
// dynamically add accessible routes
|
||||||
router.addRoutes(accessRoutes)
|
router.addRoutes(accessRoutes)
|
||||||
|
|
||||||
|
// reset visited views and cached views
|
||||||
|
dispatch('tagsView/delAllViews', null, { root: true })
|
||||||
|
|
||||||
resolve()
|
resolve()
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue