mirror of
https://github.com/PanJiaChen/vue-element-admin.git
synced 2025-04-05 11:18:42 +08:00
fix: fixed change roles bug (#2072)
This commit is contained in:
parent
be3dfac13b
commit
1e598e9684
@ -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()
|
||||
})
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user