上下载点优化
This commit is contained in:
@ -709,7 +709,7 @@ export const formProps: FormProps = {
|
||||
width: '100%',
|
||||
span: '',
|
||||
labelWidthMode: 'fix',
|
||||
labelFixWidth: 120,
|
||||
labelFixWidth: 170,
|
||||
responsive: false,
|
||||
respNewRow: false,
|
||||
placeholder: '请选择下拉选择',
|
||||
@ -796,7 +796,7 @@ export const formProps: FormProps = {
|
||||
width: '100%',
|
||||
span: '',
|
||||
labelWidthMode: 'fix',
|
||||
labelFixWidth: 120,
|
||||
labelFixWidth: 200,
|
||||
responsive: false,
|
||||
respNewRow: false,
|
||||
placeholder: '请选择下拉选择',
|
||||
|
||||
@ -108,14 +108,14 @@ export const columns: BasicColumn[] = [
|
||||
componentType: 'select',
|
||||
align: 'left',
|
||||
|
||||
customRender: ({ record }) => {
|
||||
const staticOptions = [
|
||||
{ key: 1, label: 'Option 1', value: 'Option 1' },
|
||||
{ key: 2, label: 'Option 2', value: 'Option 2' },
|
||||
{ key: 3, label: 'Option 3', value: 'Option 3' },
|
||||
];
|
||||
return staticOptions.filter((x) => x.value === record.staCodeLng)[0]?.label;
|
||||
},
|
||||
// customRender: ({ record }) => {
|
||||
// const staticOptions = [
|
||||
// { key: 1, label: 'Option 1', value: 'Option 1' },
|
||||
// { key: 2, label: 'Option 2', value: 'Option 2' },
|
||||
// { key: 3, label: 'Option 3', value: 'Option 3' },
|
||||
// ];
|
||||
// return staticOptions.filter((x) => x.value === record.staCodeLng)[0]?.label;
|
||||
// },
|
||||
|
||||
sorter: true,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user