mirror of
https://gitee.com/beijing_hongye_huicheng/lilishop-ui.git
synced 2026-08-06 10:57:26 +08:00
fix(im): 迁移 Element UI 图标并修复 Vue 3 兼容问题
- 新增 migrate-legacy-icons 脚本,批量将旧图标替换为 legacy-el-icon 组件 - 多个组件中将 <i class="el-icon-*"> 统一改为 <legacy-el-icon name="el-icon-*"> - 将 size="mini"/"medium" 调整为 Element Plus 的 small/default - 新增 legacy-el-icon 全局组件及图标映射逻辑
This commit is contained in:
@@ -18,7 +18,7 @@
|
||||
<el-tooltip content="我的消息" placement="right" :visible-arrow="false">
|
||||
<router-link to="/message">
|
||||
<div class="menu-items" :class="{ active: idx == 0 }">
|
||||
<i class="el-icon-chat-line-round" />
|
||||
<legacy-el-icon name="el-icon-chat-line-round" />
|
||||
<span v-show="unreadNum" class="notify"></span>
|
||||
</div>
|
||||
</router-link>
|
||||
|
||||
Reference in New Issue
Block a user