From 2726e5f5f6fcfcec30f7087773c3c29aad2c0b4f Mon Sep 17 00:00:00 2001 From: LovableCat Date: Tue, 18 Mar 2025 21:31:07 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8Dnodata=E7=BB=84=E4=BB=B6img?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/NoData/NoData.vue | 24 ++++++++++++++++-------- 1 file changed, 16 insertions(+), 8 deletions(-) diff --git a/src/components/NoData/NoData.vue b/src/components/NoData/NoData.vue index ce706e9..5f3ab28 100644 --- a/src/components/NoData/NoData.vue +++ b/src/components/NoData/NoData.vue @@ -2,10 +2,24 @@
NoData + NoData + NoData @@ -36,12 +50,6 @@ const props = defineProps({ default: '', }, }); -const src = computed(() => { - if (props.imgSrc) { - return props.imgSrc; - } - return props.small ? '/src/assets/imgs/jyh/nodata_small.svg' : '/src/assets/imgs/jyh/nodata.svg'; -}); const imgWidth = computed(() => { if (props.width) { return props.width;