chore: refs #6919 remove console logs
gitea/salix-front/pipeline/pr-dev This commit looks good Details

This commit is contained in:
Jorge Penadés 2025-01-08 10:56:40 +01:00
parent 9ebb7b85b2
commit 52e1cfc828
2 changed files with 0 additions and 3 deletions

View File

@ -47,7 +47,6 @@ onBeforeRouteUpdate(async (to, from) => {
if (to.params.id !== from.params.id) { if (to.params.id !== from.params.id) {
if (props.idInWhere) arrayData.store.filter.where = { id: to.params.id }; if (props.idInWhere) arrayData.store.filter.where = { id: to.params.id };
else arrayData.store.url = `${props.url}/${to.params.id}`; else arrayData.store.url = `${props.url}/${to.params.id}`;
console.log('fetching data', arrayData.store.url, to.params.id);
await arrayData.fetch({ updateRouter: false }); await arrayData.fetch({ updateRouter: false });
} }
}); });

View File

@ -20,9 +20,7 @@ const maritalStatus = [
const advancedSummary = ref({}); const advancedSummary = ref({});
const route = useRoute(); const route = useRoute();
onBeforeMount(async () => { onBeforeMount(async () => {
console.log('route.params.id', route.params.id);
advancedSummary.value = (await useAdvancedSummary('Workers', route.params.id)) ?? {}; advancedSummary.value = (await useAdvancedSummary('Workers', route.params.id)) ?? {};
console.log('advancedSummary.value: ', advancedSummary.value);
}); });
</script> </script>
<template> <template>