UNPKG

@pit-front-end/components

Version:

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

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