虚拟动态形式组件 (vue-dynamic-form-component)
vue-dynamic-form-component is a dynamic form component base on element-ui and async-validator. You just need to write descriptors(reference to async-validator) of the data you want, vue-dynamic-form-component will generate the form automatically.
vue-dynamic-form-component是基于element-ui和async-validator的动态表单组件。 您只需要编写所需数据的描述符(对async-validator的引用),vue-dynamic-form-component将自动生成表单。
特征 (Features)
Generate form from descriptors
从描述符生成表格
Support almost all data type
支持几乎所有数据类型
Support multi-level form for
Object
/Array
/Hashmap
支持
Object
/Array
/Hashmap
多级表单Support data validation
支持数据验证
Multi-Languages support
多国语言支持
去做 (Todo)
vue-dynamic-form-component can do more. There are a few things that it currently doesn't support but are planned:
vue-dynamic-form-component可以做更多的事情。 目前尚不支持但有一些计划中的事情:
Support more component
支持更多组件
Custom theme
自订主题
翻译自: https://vuejsexamples.com/a-dynamic-form-component-base-on-element-ui-and-async-validator/