From 66a1d1fbfe65b2a59ef599cff650da6a31b23dc2 Mon Sep 17 00:00:00 2001 From: chenjiale Date: Wed, 24 Dec 2025 10:55:05 +0800 Subject: [PATCH] =?UTF-8?q?```=20feat(iconify):=20=E6=B7=BB=E5=8A=A0?= =?UTF-8?q?=E5=9B=BE=E6=A0=87=E5=AE=89=E5=85=A8=E5=88=97=E8=A1=A8=E9=85=8D?= =?UTF-8?q?=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 添加了 Ant Design、Element Plus 和 Font Awesome 图标的安全列表, 用于离线构建时保留必要的图标资源。 ``` --- src/assets/iconify/safelist.ts | 40 +++++++++++++++++++++++++++++++++- 1 file changed, 39 insertions(+), 1 deletion(-) diff --git a/src/assets/iconify/safelist.ts b/src/assets/iconify/safelist.ts index 8956900..e424410 100644 --- a/src/assets/iconify/safelist.ts +++ b/src/assets/iconify/safelist.ts @@ -1,3 +1,41 @@ export const iconifySafelist: string[] = [ - // Add backend menu icon names here to keep them in offline builds. + 'ant-design:account-book-twotone', + 'ant-design:aliyun-outlined', + 'ant-design:android-filled', + 'ant-design:appstore-filled', + 'ant-design:appstore-outlined', + 'ant-design:bar-chart-outlined', + 'ant-design:bell-outlined', + 'ant-design:bug-filled', + 'ant-design:carry-out-filled', + 'ant-design:carry-out-outlined', + 'ant-design:carry-out-twotone', + 'ant-design:control-filled', + 'ant-design:experiment-outlined', + 'ant-design:field-binary-outlined', + 'ant-design:file-pdf-twotone', + 'ant-design:fund-outlined', + 'ant-design:home-filled', + 'ant-design:info-circle-filled', + 'ant-design:insert-row-left-outlined', + 'ant-design:layout-filled', + 'ant-design:radius-bottomleft-outlined', + 'ant-design:verified-outlined', + 'ant-design:windows-outlined', + 'ant-design:yuque-filled', + 'ep:avatar', + 'ep:chat-dot-round', + 'ep:collection', + 'ep:connection', + 'ep:document-copy', + 'ep:menu', + 'ep:message', + 'ep:position', + 'ep:promotion', + 'ep:takeaway-box', + 'ep:tools', + 'ep:user', + 'fa:address-card', + 'fa:edit', + 'fa:stack-exchange', ]