Commit ac5339b0 authored by 皮倩雯's avatar 皮倩雯

fix: '解决表字段字段配置编辑字段宽回显bug'

parent e8113108
Pipeline #51011 skipped with stages
/* eslint-disable no-lonely-if */
/* eslint-disable no-restricted-syntax */ /* eslint-disable no-restricted-syntax */
/* eslint-disable indent */ /* eslint-disable indent */
/* eslint-disable prefer-destructuring */ /* eslint-disable prefer-destructuring */
...@@ -265,12 +266,12 @@ const AddModal = props => { ...@@ -265,12 +266,12 @@ const AddModal = props => {
) { ) {
form.setFieldsValue({ RowSpan: 6 }); form.setFieldsValue({ RowSpan: 6 });
} else { } else {
if (pramData.RowSpan) { if (res[0].data.root.RowSpan !== 0) {
form.setFieldsValue({ RowSpan: res[0].data.root.RowSpan }); form.setFieldsValue({ RowSpan: res[0].data.root.RowSpan });
} else {
form.setFieldsValue({ RowSpan: 1 });
} }
form.setFieldsValue({ RowSpan: 1 });
} }
console.log(pramData);
// 清空表单数据 // 清空表单数据
let index = res[2].data.root.find(item => { let index = res[2].data.root.find(item => {
return item.Name == res[0].data.root.ExceptionEvent; return item.Name == res[0].data.root.ExceptionEvent;
......
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