Commit 180cea55 by zhaochengxiang

模版可不选择

parent 4a7211a8
...@@ -340,11 +340,11 @@ const ImportActionTable = (props) => { ...@@ -340,11 +340,11 @@ const ImportActionTable = (props) => {
if (index === -1) { if (index === -1) {
newData.splice(0, 0, {...row, iid: editingKey}); newData.splice(0, 0, {...row, iid: editingKey, modelingTemplateTag: null});
} else { } else {
const item = newData[index]; const item = newData[index];
newData.splice(index, 1, { ...item, ...row }); newData.splice(index, 1, { ...item, ...row, modelingTemplateTag: null });
} }
onChange && onChange(newData, true); onChange && onChange(newData, true);
...@@ -788,7 +788,6 @@ const ImportActionTable = (props) => { ...@@ -788,7 +788,6 @@ const ImportActionTable = (props) => {
}, },
}} }}
rowClassName={(record, index) => { rowClassName={(record, index) => {
console.log('record', record);
if (record.modelingTemplateTag && record.modelingTemplateTag!=={}) { if (record.modelingTemplateTag && record.modelingTemplateTag!=={}) {
return 'editable-row template-highlight-row'; return 'editable-row template-highlight-row';
} }
......
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