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