From 68ce5880dd7f1a82aa206ca44bbf1938fe5563e0 Mon Sep 17 00:00:00 2001 From: Jon Date: Wed, 31 Jul 2024 07:35:59 +0200 Subject: [PATCH] refactor: refs #7717 deleted useless code --- src/components/common/VnCard.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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,