From 77950e48c76f4a3b29d01831d43039caba29888a Mon Sep 17 00:00:00 2001
From: wwf <1971391498@qq.com>
Date: 星期二, 18 十一月 2025 14:12:42 +0800
Subject: [PATCH] 修改
---
app/components/base/app-icon/index.tsx | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/app/components/base/app-icon/index.tsx b/app/components/base/app-icon/index.tsx
index ac17af1..1938c42 100644
--- a/app/components/base/app-icon/index.tsx
+++ b/app/components/base/app-icon/index.tsx
@@ -61,8 +61,8 @@
onClick={onClick}
>
{isValidImageIcon
-
- ? <img src={imageUrl} className="h-full w-full" alt="app icon" />
+ // eslint-disable-next-line @next/next/no-img-element
+ ? <img src={imageUrl} className="w-full h-full" alt="app icon" />
: (innerIcon || ((icon && icon !== '') ? <em-emoji id={icon} /> : <em-emoji id='馃' />))
}
</span>
--
Gitblit v1.8.0