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

Signed-off-by: 天痕 <614891294@qq.com>
This commit is contained in:
天痕 2023-10-07 10:51:56 +00:00 committed by Gitee
parent 04a94ad941
commit fff4cfd012
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -188,6 +188,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()