Commit 7bbe83df by zhaochengxiang

重点关注

parent 028d28b4
......@@ -334,7 +334,7 @@ const ImportActionTable = (props) => {
setKeywordCondition({ keyword: '', needFilter: false });
const iid = generateUUID();
const newData = [...moveRowRef.current.data, {iid, needAttention: true }];
const newData = [...moveRowRef.current.data, {iid}];
if (newData.length > supportMaxAttributeCountPerPage) {
......@@ -366,11 +366,11 @@ const ImportActionTable = (props) => {
const iid = generateUUID();
if (index === 0) {
newData = [{iid, needAttention: true}, ...newData];
newData = [{iid}, ...newData];
setInsertIndex(0);
edit(newData[0], false);
} else {
newData.splice(index, 0, {iid, needAttention: true});
newData.splice(index, 0, {iid});
setInsertIndex(index);
edit(newData[index], false);
}
......@@ -395,7 +395,7 @@ const ImportActionTable = (props) => {
const index = newData.findIndex((item) => record.iid === item.iid);
const iid = generateUUID();
newData.splice(index+1, 0, {iid, needAttention: true});
newData.splice(index+1, 0, {iid});
const _pageNum = parseInt((index+2)/supportMaxAttributeCountPerPage) + (((index+2)%supportMaxAttributeCountPerPage===0)?0:1);
......
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