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:
parent
1a840728a5
commit
44d962c2ff
@ -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>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user