1
0
mirror of https://github.com/PanJiaChen/vue-element-admin.git synced 2025-09-03 23:19:49 +08:00

fix: fixed change roles bug

This commit is contained in:
Pan 2019-05-14 12:34:28 +08:00
parent dbfcc9dc19
commit 3c04575275

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()
})
}