UNPKG

@caxa-form/core

Version:

vue动态表单,助你轻松搞定表单|form-create is a form generation component that can generate dynamic rendering, data collection, verification and submission functions through JSON. Supports 3 UI frameworks, and supports the generation of any Vue components. Built-in 20

20 lines (18 loc) 340 B
const BaseParser = { init(ctx) { }, toFormValue(value, ctx) { return value }, toValue(formValue, ctx) { return formValue; }, mounted(ctx) { }, render(children, ctx) { return ctx.$render.defaultRender(ctx, children); }, mergeProp(ctx) { } } export default BaseParser;