调整结果

This commit is contained in:
aixianling
2022-06-24 23:23:57 +08:00
parent ac2bf021bc
commit 1e166a02e8

View File

@@ -152,7 +152,7 @@ export default {
let {kind, id, tagIdList} = e let {kind, id, tagIdList} = e
console.log([result[e.corpId], {kind, id}].flat()) console.log([result[e.corpId], {kind, id}].flat())
result[e.corpId] = [result[e.corpId], {kind, id}].flat() result[e.corpId] = [result[e.corpId], {kind, id}].flat()
tagIdList = tagIdList.map(e => e.id).filter(e => !!e) tagIdList = tagIdList.filter(e => !!e)
if (tagIdList) { if (tagIdList) {
tags[e.corpId] = [...new Set([tags[e.corpId], tagIdList].flat())] tags[e.corpId] = [...new Set([tags[e.corpId], tagIdList].flat())]
} }