LanceJiang
1 year ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
13 additions and
0 deletions
-
packages/effects/layouts/src/basic/layout.vue
|
|
|
@ -143,6 +143,19 @@ watch( |
|
|
|
}, |
|
|
|
); |
|
|
|
|
|
|
|
watch( |
|
|
|
() => preferences.app.layout, |
|
|
|
async (val) => { |
|
|
|
if (val === 'sidebar-mixed-nav' && preferences.sidebar.hidden) { |
|
|
|
updatePreferences({ |
|
|
|
sidebar: { |
|
|
|
hidden: false, |
|
|
|
}, |
|
|
|
}); |
|
|
|
} |
|
|
|
}, |
|
|
|
); |
|
|
|
|
|
|
|
const slots = useSlots(); |
|
|
|
const headerSlots = computed(() => { |
|
|
|
return Object.keys(slots).filter((key) => key.startsWith('header-')); |
|
|
|
|