You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
568 B

11 months ago
import { reactive, PropType } from 'vue';
import { PropTypes } from '/nerv-lib/util/type';
export const formProps = {
params: PropTypes.object.def(() => ({})),
showAction: PropTypes.bool.def(false),
// validateState: PropTypes.bool.def(false),
schemas: {
type: Array as PropType<FormSchema[]>,
required: true,
default: () => [],
},
model: PropTypes.object.def(() => reactive({})),
loading: PropTypes.bool.def(false),
11 months ago
formLayout: PropTypes.string.def('flex'),
11 months ago
expand: PropTypes.bool.def(true),
showExpand: PropTypes.bool.def(false),
};