ny
22 小时以前 282fbc6488f4e8ceb5fda759f963ee88fbf7b999
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
import { $t } from '@vben/locales';
 
export const popupSelectProps = {
  allowClear: { default: true, type: Boolean },
  columnOptions: { default: () => [], type: Array },
  disabled: { default: false, type: Boolean },
  extraOptions: { default: () => [], type: Array },
  field: { default: '', type: String },
  formData: { type: Object },
  hasPage: { default: false, type: Boolean },
  interfaceId: { 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: 'id', type: String },
  relationField: { default: 'fullName', type: String },
  rowIndex: { default: null },
  size: { default: 'default', type: String },
  templateJson: { default: () => [], type: Array },
  value: [String, Number, Array] as PropType<[string, number][] | number | number[] | string | string[]>,
};