mod: reload page

This commit is contained in:
张传龙 2022-09-08 09:00:28 +08:00
parent 738212c84b
commit 2f3a83758a

View File

@ -87,7 +87,7 @@ function handleMenuSelect(key, item) {
if (isExternal(item.path)) { if (isExternal(item.path)) {
window.open(item.path) window.open(item.path)
} else { } else {
if (item.path === currentRoute.value.path && !currentRoute.value.meta?.keepAlive) { if (item.path === currentRoute.value.path) {
appStore.reloadPage() appStore.reloadPage()
} else { } else {
router.push(item.path) router.push(item.path)