@xleddyl/443-components-vue 0.16.7 → 0.16.8
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.
|
@@ -318,7 +318,9 @@ function slotProps(item, close) {
|
|
|
318
318
|
return { section: item, close, page: currentPage.value, pages: pages.value, openPage, back };
|
|
319
319
|
}
|
|
320
320
|
const router = useRouterLike();
|
|
321
|
-
const routeKey = computed(
|
|
321
|
+
const routeKey = computed(
|
|
322
|
+
() => props.route === true || props.route === "" ? "settings" : props.route || void 0
|
|
323
|
+
);
|
|
322
324
|
const defaultLocation = useDefaultRouteLocation();
|
|
323
325
|
const location = computed(() => props.routeLocation ?? defaultLocation);
|
|
324
326
|
const routeParam = useRouteValue(router, routeKey, location);
|
package/package.json
CHANGED