refactor(视图): 数据集字段管理支持全选/全不选

This commit is contained in:
junjun 2022-08-11 12:09:35 +08:00
parent 00487979db
commit 7eb4b1a6ba

View File

@ -0,0 +1,11 @@
export function getFieldName(fields, name) {
let n = name
n = n + '_copy'
for (let i = 0; i < fields.length; i++) {
const field = fields[i]
if (field.name === n) {
n = getFieldName(fields, n)
}
}
return n
}