adminforth 2.13.0-next.20 → 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
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
|
|
|
@@ -265,11 +265,11 @@ onMounted(() => {
|
|
|
265
265
|
|
|
266
266
|
watch(() => props.modelValue, (value) => {
|
|
267
267
|
updateFromProps();
|
|
268
|
-
});
|
|
268
|
+
}, {deep: true});
|
|
269
269
|
|
|
270
270
|
watch(() => props.options, () => {
|
|
271
271
|
updateFromProps();
|
|
272
|
-
});
|
|
272
|
+
}, { deep: true });
|
|
273
273
|
|
|
274
274
|
addClickListener();
|
|
275
275
|
|