入表bug修改
This commit is contained in:
@@ -123,11 +123,7 @@ return result;
|
||||
}
|
||||
// 整理入表
|
||||
const exportAll = (type: string, items: any[]) => {
|
||||
// console.log(items)
|
||||
// console.log(riskRecords.value)
|
||||
// console.log([...riskRecords.value, ...items])
|
||||
// 如果有id且id!=0,就用id去重,否则根据对象内容去重
|
||||
riskRecords.value = uniqueById([...riskRecords.value, ...items]);
|
||||
riskRecords.value = [...riskRecords.value, ...items];
|
||||
if (type === "all") {
|
||||
pluginDrawer.value = false;
|
||||
currentPlugin.value = '';
|
||||
|
||||
Reference in New Issue
Block a user