1
0
mirror of https://github.com/zclzone/vue-naive-admin.git synced 2025-05-01 06:39:01 +08:00

fix: 面包屑子项选中跳转

This commit is contained in:
zclzone 2023-12-16 22:01:36 +08:00
parent 1a840728a5
commit 44d962c2ff

View File

@ -72,9 +72,9 @@ function getDropOptions(list = []) {
})) }))
} }
function handleDropSelect(item) { function handleDropSelect(code) {
if (item.path && item.code !== route.name) { if (code && code !== route.name) {
router.push(item.path) router.push({ name: code })
} }
} }
</script> </script>