Skip to content

Commit 9ab95c6

Browse files
PanJiaChenTrong. Pham Van - CMC Global DU1.19
authored and
Trong. Pham Van - CMC Global DU1.19
committed
fix: fixed change roles bug (PanJiaChen#2072)
1 parent bfca90f commit 9ab95c6

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/store/modules/user.js

+3
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,9 @@ const actions = {
115115
// dynamically add accessible routes
116116
router.addRoutes(accessRoutes)
117117

118+
// reset visited views and cached views
119+
dispatch('tagsView/delAllViews', null, { root: true })
120+
118121
resolve()
119122
})
120123
}

0 commit comments

Comments
 (0)