修复,刷新菜单缓存失效问题

Signed-off-by: 天痕 <614891294@qq.com>
(cherry picked from commit fff4cfd012)
This commit is contained in:
天痕 2023-10-07 10:51:56 +00:00 committed by shizhong
parent 9f836ad25b
commit abca5a7669

View File

@ -388,6 +388,7 @@ const refreshMenu = async () => {
try { try {
await message.confirm('即将更新缓存刷新浏览器!', '刷新菜单缓存') await message.confirm('即将更新缓存刷新浏览器!', '刷新菜单缓存')
// //
wsCache.delete(CACHE_KEY.USER)
wsCache.delete(CACHE_KEY.ROLE_ROUTERS) wsCache.delete(CACHE_KEY.ROLE_ROUTERS)
// //
location.reload() location.reload()