@lljj/vue3-form-core
Version:
基于 Vue3 、JsonSchema快速构建一个带完整校验的form表单,vue3版本基础框架
20 lines (17 loc) • 381 B
JavaScript
/**
* Created by Liu.Jun on 2020/4/21 9:24.
* IntegerField 复用StringField
*/
import { h } from 'vue';
import vueProps from '../props';
import StringField from '../StringField';
export default {
name: 'IntegerField',
props: vueProps,
setup(props, { attrs }) {
return () => h(StringField, {
...props,
...attrs
});
}
};