diff --git a/src/store/modules/user.js b/src/store/modules/user.js index d2b2e67a..dbc29003 100644 --- a/src/store/modules/user.js +++ b/src/store/modules/user.js @@ -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() }) }