mirror of
https://gitee.com/onvia/ccc-tnt-psd2ui
synced 2024-12-27 12:07:45 +00:00
18 lines
273 B
JavaScript
18 lines
273 B
JavaScript
|
import { h, Fragment } from 'vue'
|
||
|
|
||
|
function jsx(type, props, key) {
|
||
|
const { children } = props
|
||
|
delete props.children
|
||
|
if (arguments.length > 2) {
|
||
|
props.key = key
|
||
|
}
|
||
|
return h(type, props, children)
|
||
|
}
|
||
|
|
||
|
export {
|
||
|
Fragment,
|
||
|
jsx,
|
||
|
jsx as jsxs,
|
||
|
jsx as jsxDEV
|
||
|
}
|