Skip to content

Commit

Permalink
fix: fixed change roles bug (#2072)
Browse files Browse the repository at this point in the history
  • Loading branch information
PanJiaChen committed May 21, 2019
1 parent 73babc4 commit cdf3ea0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/store/modules/user.js
Original file line number Diff line number Diff line change
Expand Up @@ -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()
})
}
Expand Down

0 comments on commit cdf3ea0

Please sign in to comment.