1
0
mirror of https://github.com/zclzone/vue-naive-admin.git synced 2026-01-22 15:40:21 +08:00

fix: 菜单path跳转判空,close #120

This commit is contained in:
dxmqj200682
2025-03-30 15:43:11 +08:00
committed by GitHub
parent 1eb59b7cad
commit dde25dd7ab

View File

@@ -54,6 +54,7 @@ function handleMenuSelect(key, item) {
}) })
} }
else { else {
if(!item.path) return
router.push(item.path) router.push(item.path)
} }
} }