12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455 |
- import { defineMixin } from '../../libs/vue'
- import defProps from '../../libs/config/props.js'
- export const props = defineMixin({
- props: {
-
- label: {
- type: String,
- default: () => defProps.formItem.label
- },
-
- prop: {
- type: String,
- default: () => defProps.formItem.prop
- },
-
- rules: {
- type: Array,
- default: () => defProps.formItem.rules
- },
-
- borderBottom: {
- type: [String, Boolean],
- default: () => defProps.formItem.borderBottom
- },
-
- labelPosition: {
- type: String,
- default: () => defProps.formItem.labelPosition
- },
-
- labelWidth: {
- type: [String, Number],
- default: () => defProps.formItem.labelWidth
- },
-
- rightIcon: {
- type: String,
- default: () => defProps.formItem.rightIcon
- },
-
- leftIcon: {
- type: String,
- default: () => defProps.formItem.leftIcon
- },
-
- required: {
- type: Boolean,
- default: () => defProps.formItem.required
- },
- leftIconStyle: {
- type: [String, Object],
- default: () => defProps.formItem.leftIconStyle,
- }
- }
- })
|