fix: formItem formItemProps 调研关联性

This commit is contained in:
xuziqiang
2024-05-29 17:24:26 +08:00
parent 4614c8699f
commit 620fbd509a
5 changed files with 17 additions and 7 deletions

View File

@@ -45,10 +45,12 @@
field: 'formula',
component: 'NsTextarea',
defaultValue: '(A+B)*2',
style: { width: '450px' },
formItemProps: {
wrapperCol: { span: 24 },
},
componentProps: {
placeholder: '请输入',
autosize: {
autoSize: {
minRows: 6,
maxRows: 6,
},
@@ -70,11 +72,13 @@
label: '',
field: 'NsBasicTable',
component: 'NsBasicTable',
formItemProps: {
wrapperCol: { span: 24 },
},
componentProps: {
disabled: true,
placeholder: '请输入',
dataSource: mockDataSource.value,
style: { width: '450px' },
pagination: false,
rowKey: (record) => record.groupName,
columns: [

View File

@@ -87,11 +87,13 @@
label: '',
field: 'NsBasicTable',
component: 'NsBasicTable',
formItemProps: {
wrapperCol: { span: 24 },
},
componentProps: {
disabled: true,
placeholder: '请输入',
dataSource: mockDataSource.value,
style: { width: '450px' },
rowSelection: { type: 'radio' },
pagination: false,
rowKey: (record) => record.groupName,