-
-
-
-
-
-
+
diff --git a/src/composables/useArrayData.js b/src/composables/useArrayData.js
index 6db4251e1..e59e02003 100644
--- a/src/composables/useArrayData.js
+++ b/src/composables/useArrayData.js
@@ -66,10 +66,19 @@ export function useArrayData(key = useRoute().meta.moduleName, userOptions) {
}
}
}
+ console.log('setOptions store.url: ', store.url);
}
async function fetch({ append = false, updateRouter = true }) {
if (!store.url) return;
+ console.log('store.url: ', store.url);
+ console.log('userOptions.url: ', userOptions.url);
+ console.log('route.params.id: ', route.params.id);
+ // const urlSplited = store.url.split('/');
+ // if (!isNaN(+urlSplited[1]) && urlSplited[1] != route.params.id) {
+ // urlSplited[1] = route.params.id;
+ // store.url = urlSplited.join('/');
+ // }
cancelRequest();
canceller = new AbortController();