Commit 19370aae authored by 邓超's avatar 邓超

fix: 修改字段形态验证回显问题

parent 51cb13bd
Pipeline #54411 passed with stages
......@@ -378,12 +378,13 @@ const TableView = props => {
tableName: `${tableMap[tableType]}_${validate.tableName}`,
TableFields,
tableType,
tableStyle: '大',
}).then(res => {
if (res.code === 0) {
notification.success({
message: '提示',
duration: 3,
description: type === 'add' ? '新增成功' : '编辑成功',
description: '新增成功',
});
callBackSubmit();
} else {
......@@ -397,7 +398,7 @@ const TableView = props => {
notification.success({
message: '提示',
duration: 3,
description: type === 'add' ? '新增成功' : '编辑成功',
description: '编辑成功',
});
callBackSubmit();
} else {
......
......@@ -73,9 +73,9 @@ const VerifyModal = props => {
return;
}
}
let callValue = `${radioValue ? `${radioValue},` : ''}${checkList.join(
',',
)}`;
let callValue = `${
radioValue ? `${radioValue}${checkList.length > 0 ? ',' : ''}` : ''
}${checkList.join(',')}`;
callBackSubmit(callValue);
};
return (
......@@ -89,10 +89,7 @@ const VerifyModal = props => {
maskClosable={false}
destroyOnClose
>
<Radio.Group
value={radioValue}
style={{ display: 'flex', flexWrap: 'wrap' }}
>
<Radio.Group value={radioValue} style={{ display: 'flex', flexWrap: 'wrap' }}>
{radioOptions.map(item => (
<Radio
value={item.value}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment