Closed lizhihongTest closed 1 year ago
chatmoss-ui\src\hooks\useIconRender.ts 需要修改icon
import { IconifyIcon} from '@iconify/vue'
export const useIconRender = () => {
interface IconConfig {
icon : IconifyIcon | string
color?: string
fontSize?: number
}
感谢马上查看
已经解决
npm run win 出现编译报错icon 的数据类型要改成 IconifyIcon | string