fix: 部分权限标识, 修复部门编辑bug
This commit is contained in:
@@ -82,7 +82,7 @@ const getInfo = async () => {
|
||||
|
||||
const formatIdsToNames = (ids, infoList, key, viewKey) => {
|
||||
const resArr = []
|
||||
if(!ids.length) return '--'
|
||||
if(!ids?.length) return
|
||||
ids.forEach(item=>{
|
||||
infoList.forEach(v=>{
|
||||
item == v[key] && resArr.push(v[viewKey])
|
||||
|
||||
Reference in New Issue
Block a user