1
0
mirror of https://github.com/PanJiaChen/vue-element-admin.git synced 2025-04-06 03:57:53 +08:00

fix: fixed change roles bug (#2072)

This commit is contained in:
花裤衩 2019-05-20 11:04:17 +08:00 committed by GitHub
parent be3dfac13b
commit 1e598e9684
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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