1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
| import { $t } from '@vben/locales';
|
| export const relationFormProps = {
| allowClear: { default: true, type: Boolean },
| columnOptions: { default: () => [], type: Array },
| disabled: { default: false, type: Boolean },
| extraOptions: { default: () => [], type: Array },
| field: { default: '', type: String },
| hasPage: { default: false, type: Boolean },
| modelId: { default: '', type: String },
| multiple: { default: false, type: Boolean },
| pageSize: { default: 20, type: Number },
| placeholder: { default: () => $t('common.chooseText'), type: String },
| popupTitle: { default: () => $t('component.jnpf.popupSelect.modalTitle'), type: String },
| popupType: { default: 'dialog', type: String },
| popupWidth: { default: '800px', type: String },
| propsValue: { default: '', type: String },
| queryType: { default: 1, type: Number },
| relationField: { default: '', type: String },
| size: { default: 'default', type: String },
| value: [String, Number, Array] as PropType<[string, number][] | number | number[] | string | string[]>,
| };
|
|