diff --git a/src/views/system/menu/index.vue b/src/views/system/menu/index.vue index a3eccc5c..de65b973 100644 --- a/src/views/system/menu/index.vue +++ b/src/views/system/menu/index.vue @@ -388,6 +388,7 @@ const refreshMenu = async () => { try { await message.confirm('即将更新缓存刷新浏览器!', '刷新菜单缓存') // 清空,从而触发刷新 + wsCache.delete(CACHE_KEY.USER) wsCache.delete(CACHE_KEY.ROLE_ROUTERS) // 刷新浏览器 location.reload()