From 2678b5e3586e84ac79fcb0d2ccebc85fe9527e12 Mon Sep 17 00:00:00 2001 From: Leo <98382335+gaoziman@users.noreply.github.com> Date: Mon, 7 Jul 2025 22:35:23 +0800 Subject: [PATCH] =?UTF-8?q?fix(component):=20=E4=BF=AE=E5=A4=8DCoiEmpty?= =?UTF-8?q?=E7=BB=84=E4=BB=B6=E5=9B=BE=E6=A0=87=E6=98=BE=E7=A4=BA=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 移除动态组件引用,直接使用icon-park-outline图标组件 - 优化图标显示逻辑,根据不同类型显示对应图标 - 移除actionIcon属性,简化组件接口 - 确保图标在模板中正确渲染 --- src/components/common/CoiEmpty.vue | 39 +++++++++--------------------- 1 file changed, 11 insertions(+), 28 deletions(-) diff --git a/src/components/common/CoiEmpty.vue b/src/components/common/CoiEmpty.vue index 207be03..543b682 100644 --- a/src/components/common/CoiEmpty.vue +++ b/src/components/common/CoiEmpty.vue @@ -5,7 +5,12 @@
- + + + + + +
@@ -30,9 +35,10 @@ class="coi-empty__action-btn" @click="handleAction" > -