Template
1
0
mirror of https://github.com/un-pany/v3-admin-vite.git synced 2025-04-21 03:19:19 +08:00

perf: 代码优化 router/index

This commit is contained in:
pany 2023-06-01 09:26:53 +08:00
parent bf29e0e52a
commit b2da13b34a

View File

@ -287,7 +287,7 @@ export function resetRouter() {
router.hasRoute(name) && router.removeRoute(name)
}
})
} catch (error) {
} catch {
// 强制刷新浏览器也行,只是交互体验不是很好
window.location.reload()
}