This reverts commit 8d9fc95977
.
Reviewed-on: daoyoucloud/tachybase#1331
Reviewed-by: sealday <zhanglin@daoyoucloud.com>
Co-authored-by: bai.zixv <bai.zixv@foxmail.com>
Co-committed-by: bai.zixv <bai.zixv@foxmail.com>
This commit is contained in:
parent
c56304f2b5
commit
fea10debc0
@ -46,7 +46,7 @@ export const Resizable = () => {
|
|||||||
'x-decorator': 'FormItem',
|
'x-decorator': 'FormItem',
|
||||||
'x-component': 'InputNumber',
|
'x-component': 'InputNumber',
|
||||||
'x-component-props': {},
|
'x-component-props': {},
|
||||||
default: fieldSchema?.['x-component-props']?.width || 20,
|
default: fieldSchema?.['x-component-props']?.width || 200,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
} as ISchema
|
} as ISchema
|
||||||
|
@ -77,7 +77,7 @@ const useTableColumns = (props: { showDel?: boolean; isSubTable?: boolean; setFi
|
|||||||
dataIndex,
|
dataIndex,
|
||||||
key: s.name,
|
key: s.name,
|
||||||
sorter: s['x-component-props']?.['sorter'],
|
sorter: s['x-component-props']?.['sorter'],
|
||||||
width: 20,
|
width: 200,
|
||||||
...s['x-component-props'],
|
...s['x-component-props'],
|
||||||
render: (v, record) => {
|
render: (v, record) => {
|
||||||
const index = field.value?.indexOf(record);
|
const index = field.value?.indexOf(record);
|
||||||
|
Loading…
Reference in New Issue
Block a user