From a430284aa21e3ae1f0d5654e55b2ad2852519cc2 Mon Sep 17 00:00:00 2001 From: wwf <yearningwang@iqtogether.com> Date: 星期三, 04 六月 2025 15:17:49 +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