UNPKG

mine-h5-ui

Version:

一款轻量级、模块化基于 Vue3.x 的 H5 前端 UI 组件库 👍

30 lines (29 loc) 750 B
import { defineComponent as f, createElementBlock as i, openBlock as a, unref as o, renderSlot as p } from "vue"; import { useHandler as d } from "./hooks.js"; /*! * mine-h5-ui v2.15.0 * Copyright (c) 2025 biaov * @license MIT */ const S = /* @__PURE__ */ f({ name: "MeForm", __name: "index", props: { model: { default: () => ({}) }, rules: { default: () => [] } }, emits: ["submit"], setup(m, { emit: n }) { const r = n, s = m, { onSubmit: e } = d(s, r); return (l, t) => (a(), i("form", { class: "me-form", onSubmit: t[0] || (t[0] = //@ts-ignore (...u) => o(e) && o(e)(...u)) }, [ p(l.$slots, "default") ], 32)); } }); export { S as default };