mirror of
https://github.com/fugary/simple-element-plus-template.git
synced 2026-02-23 06:37:01 +00:00
1. 控件优化
2. 增加monaco-editor、echarts等
This commit is contained in:
@@ -22,7 +22,7 @@ const activeRoutePath = computed(() => {
|
||||
return props.defaultActivePath
|
||||
}
|
||||
const current = useParentRoute(route)
|
||||
return current && current.path !== '/' ? current.path : ''
|
||||
return current && current.path !== '/' ? current.path : '--'
|
||||
})
|
||||
</script>
|
||||
|
||||
@@ -39,7 +39,7 @@ const activeRoutePath = computed(() => {
|
||||
>
|
||||
<common-menu-item
|
||||
:menu-item="menuItem"
|
||||
:index="index"
|
||||
:index="`${index}`"
|
||||
>
|
||||
<template #split>
|
||||
<slot name="split" />
|
||||
|
||||
Reference in New Issue
Block a user