fix: 修复菜单图标选择器公网依赖和空白显示

- 使用本地 Iconify 图标数据并补齐菜单常用图标

- 修复未知图标降级和弹出层触发器结构
This commit is contained in:
2026-07-21 14:40:47 +08:00
parent 791649c7d5
commit 4c28eaf393
8 changed files with 198 additions and 69 deletions

View File

@@ -1,7 +1,7 @@
<script setup lang="ts">
import { onMounted, ref } from 'vue';
import { createIconifyIcon } from '@easyflow/icons';
import { EasyFlowIcon } from '@easyflow-core/shadcn-ui';
import { Delete, MoreFilled, Plus } from '@element-plus/icons-vue';
import {
@@ -123,7 +123,7 @@ function getTree() {
</ElTableColumn>
<ElTableColumn prop="menuIcon" :label="$t('sysMenu.menuIcon')">
<template #default="{ row }">
<component class="size-5" :is="createIconifyIcon(row.menuIcon)" />
<EasyFlowIcon class="size-5" :icon="row.menuIcon" fallback />
</template>
</ElTableColumn>
<ElTableColumn prop="isShow" :label="$t('sysMenu.isShow')">