清楚console
This commit is contained in:
@@ -150,14 +150,12 @@ export default {
|
|||||||
let result = {}, tags = {}
|
let result = {}, tags = {}
|
||||||
this.deptUserTagList.map(e => {
|
this.deptUserTagList.map(e => {
|
||||||
let {kind, id, tagIdList} = e
|
let {kind, id, tagIdList} = e
|
||||||
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.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())]
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
console.log(result, tags)
|
|
||||||
var deptList = Object.keys(result).map(corpId => {
|
var deptList = Object.keys(result).map(corpId => {
|
||||||
let res
|
let res
|
||||||
if (result[corpId]) {
|
if (result[corpId]) {
|
||||||
@@ -173,7 +171,6 @@ export default {
|
|||||||
return res
|
return res
|
||||||
}).filter(e => !!e)
|
}).filter(e => !!e)
|
||||||
|
|
||||||
console.log(deptList)
|
|
||||||
|
|
||||||
this.formData.fileList = []
|
this.formData.fileList = []
|
||||||
var contentFile = {
|
var contentFile = {
|
||||||
|
|||||||
Reference in New Issue
Block a user