仪表盘
版本库
文件存储
活动
搜索
登录
董宇坤
/
iailab-plat-ui-vue3
分支自
iailab-plat-ui-vue3
概况
提交次数
目录
文档
分支
对比
blame
|
历史
|
原始文档
计算预测项,选择表达式的预测项,添加管网限制,必须是同一个管网下,预测长度相同
dengzedong
2024-12-19
f5e3a1fdf8e28cd2eea676d4417890ba2e9bf57b
[~dongyukun/iailab-plat-ui-vue3.git]
/
src
/
hooks
/
web
/
useIcon.ts
1
2
3
4
5
6
7
8
import { h } from 'vue'
import type { VNode } from 'vue'
import { Icon } from '@/components/Icon'
import { IconTypes } from '@/types/icon'
export const useIcon = (props: IconTypes): VNode => {
return h(Icon, props)
}