diff --git a/src/components/common/VnCard.vue b/src/components/common/VnCard.vue index 3a3361657..6d0badffb 100644 --- a/src/components/common/VnCard.vue +++ b/src/components/common/VnCard.vue @@ -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 }); });