mirror of
https://github.com/soybeanjs/soybean-admin.git
synced 2025-10-08 02:46:39 +08:00
Compare commits
2 Commits
aa2af1c680
...
cd8df57c6e
Author | SHA1 | Date | |
---|---|---|---|
|
cd8df57c6e | ||
|
18846cd20d |
@ -64,7 +64,14 @@ function useMixMenu() {
|
||||
}
|
||||
|
||||
function getActiveSecondLevelMenuKey() {
|
||||
const [firstLevelRouteName, level2SuffixName] = selectedKey.value.split('_');
|
||||
const keys = selectedKey.value.split('_');
|
||||
|
||||
if (keys.length < 2) {
|
||||
setActiveSecondLevelMenuKey('');
|
||||
return;
|
||||
}
|
||||
|
||||
const [firstLevelRouteName, level2SuffixName] = keys;
|
||||
|
||||
const secondLevelRouteName = `${firstLevelRouteName}_${level2SuffixName}`;
|
||||
|
||||
|
@ -98,7 +98,7 @@ const local: App.I18n.Schema = {
|
||||
'vertical-mix_detail':
|
||||
'Vertical mix-menu layout, with the primary menu on the dark left side and the secondary menu on the lighter left side.',
|
||||
'vertical-hybrid-header-first_detail':
|
||||
'Vertical mix-menu layout, with the primary menu at the top, the secondary menu on the dark left side, and the secondary menu on the lighter left side.',
|
||||
'Left hybrid layout, with the primary menu at the top, the secondary menu on the dark left side, and the tertiary menu on the lighter left side.',
|
||||
horizontal_detail: 'Horizontal menu layout, with the menu at the top and content below.',
|
||||
'top-hybrid-sidebar-first_detail':
|
||||
'Top hybrid layout, with the primary menu on the left and the secondary menu at the top.',
|
||||
|
@ -97,7 +97,7 @@ const local: App.I18n.Schema = {
|
||||
vertical_detail: '左侧菜单布局,菜单在左,内容在右。',
|
||||
'vertical-mix_detail': '左侧双菜单布局,一级菜单在左侧深色区域,二级菜单在左侧浅色区域。',
|
||||
'vertical-hybrid-header-first_detail':
|
||||
'左侧混合布局,一级菜单在顶部,二级菜单在左侧浅色区域,三级菜单在左侧深色区域。',
|
||||
'左侧混合布局,一级菜单在顶部,二级菜单在左侧深色区域,三级菜单在左侧浅色区域。',
|
||||
horizontal_detail: '顶部菜单布局,菜单在顶部,内容在下方。',
|
||||
'top-hybrid-sidebar-first_detail': '顶部混合布局,一级菜单在左侧,二级菜单在顶部。',
|
||||
'top-hybrid-header-first_detail': '顶部混合布局,一级菜单在顶部,二级菜单在左侧。'
|
||||
|
Loading…
Reference in New Issue
Block a user