This commit is contained in:
parent
f8c238f443
commit
c8b08b9e2d
|
@ -35,7 +35,7 @@ const arrayData = useArrayData(props.dataKey, {
|
|||
});
|
||||
|
||||
onBeforeMount(async () => {
|
||||
arrayData.store.filter.where = { id: route.params.id };
|
||||
if (!props.baseUrl) arrayData.store.filter.where = { id: route.params.id };
|
||||
await arrayData.fetch({ append: false });
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in New Issue