修复,刷新菜单缓存失效问题
Signed-off-by: 天痕 <614891294@qq.com>
(cherry picked from commit fff4cfd012
)
This commit is contained in:
parent
9f836ad25b
commit
abca5a7669
@ -388,6 +388,7 @@ const refreshMenu = async () => {
|
||||
try {
|
||||
await message.confirm('即将更新缓存刷新浏览器!', '刷新菜单缓存')
|
||||
// 清空,从而触发刷新
|
||||
wsCache.delete(CACHE_KEY.USER)
|
||||
wsCache.delete(CACHE_KEY.ROLE_ROUTERS)
|
||||
// 刷新浏览器
|
||||
location.reload()
|
||||
|
Loading…
Reference in New Issue
Block a user