diff --git a/src/components/common/VnCard.vue b/src/components/common/VnCard.vue index 4b7a6ba63..8470fdff0 100644 --- a/src/components/common/VnCard.vue +++ b/src/components/common/VnCard.vue @@ -33,7 +33,7 @@ const url = computed(() => { }); const searchRightDataKey = computed(() => { if (!props.searchDataKey) return route.name; - else return props.searchDataKey; + return props.searchDataKey; }); const arrayData = useArrayData(props.dataKey, { url: url.value,