adminforth 2.13.0-next.21 → 2.13.0-next.22
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/spa/src/App.vue +4 -0
- package/package.json +1 -1
package/dist/spa/src/App.vue
CHANGED
|
@@ -311,13 +311,17 @@ async function loadMenu() {
|
|
|
311
311
|
function handleCustomLayout() {
|
|
312
312
|
if (route.meta?.sidebarAndHeader === 'none') {
|
|
313
313
|
defaultLayout.value = false;
|
|
314
|
+
headerOnlyLayout.value = false;
|
|
314
315
|
} else if (route.meta?.sidebarAndHeader === 'preferIconOnly') {
|
|
315
316
|
defaultLayout.value = true;
|
|
317
|
+
headerOnlyLayout.value = false;
|
|
316
318
|
isSidebarIconOnly.value = true;
|
|
317
319
|
} else if (route.meta?.sidebarAndHeader === 'headerOnly') {
|
|
320
|
+
defaultLayout.value = true;
|
|
318
321
|
headerOnlyLayout.value = true;
|
|
319
322
|
} else {
|
|
320
323
|
defaultLayout.value = true;
|
|
324
|
+
headerOnlyLayout.value = false;
|
|
321
325
|
}
|
|
322
326
|
}
|
|
323
327
|
|