chore: refs #6919 remove console logs
gitea/salix-front/pipeline/pr-dev This commit looks good
Details
gitea/salix-front/pipeline/pr-dev This commit looks good
Details
This commit is contained in:
parent
9ebb7b85b2
commit
52e1cfc828
|
@ -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 });
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
|
@ -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>
|
||||||
|
|
Loading…
Reference in New Issue