参考列修改为管理员也可修改

This commit is contained in:
zyx.net
2022-12-08 17:30:38 +08:00
parent deae473765
commit 5da3e4193d
@@ -838,7 +838,7 @@
if (Obj[item] instanceof Object && Obj[item].controlType !== undefined) {
Obj[item].list.forEach((itemLi) => {
console.log(item)
if(this.currentPersonRole == 'homo' && item == 'referencesCol'){
if((this.currentPersonRole == 'homo' || this.currentPersonRole == 'admin') && item == 'referencesCol'){
itemLi.isLock = 0
}else{
itemLi.isLock = 1