修改禅道已知bug
This commit is contained in:
@@ -322,12 +322,23 @@
|
||||
content.push(res)
|
||||
}
|
||||
} else if (res.type == 'Depart') {
|
||||
if (!this.selectDepartment) {
|
||||
res.disabled = true
|
||||
}
|
||||
content.push(res)
|
||||
}
|
||||
})
|
||||
this.gData = this.toTree(content)
|
||||
} else {
|
||||
this.gData = this.toTree(JSON.parse(gData))
|
||||
let content = JSON.parse(gData)
|
||||
if (!this.selectDepartment) {
|
||||
content.forEach(res => {
|
||||
if (res.type == 'Depart') {
|
||||
res.disabled = true
|
||||
}
|
||||
})
|
||||
}
|
||||
this.gData = this.toTree(content)
|
||||
}
|
||||
}
|
||||
this.defaultCheckedKeys = this.userIds
|
||||
@@ -524,6 +535,6 @@
|
||||
}
|
||||
|
||||
.treeWrap {
|
||||
height: 600px;
|
||||
height: calc(100vh - 240px);
|
||||
}
|
||||
</style>
|
||||
Reference in New Issue
Block a user