UNPKG

@pit-front-end/components

Version:

湖南创智艾泰克科技有限公司

16 lines (15 loc) 281 B
import { getCurrentInstance as u, computed as n } from "vue"; function m(t) { const { emit: e } = u() ?? {}; return { modelValue: n({ set(o) { e && e("update:modelValue", o); }, get() { return t.modelValue; } }) }; } export { m as useIconBox };