fix: 代码规范

This commit is contained in:
chenjianxing 2021-06-02 12:56:04 +08:00 committed by jianxing
parent 249d9fcefe
commit a164e35159
1 changed files with 2 additions and 2 deletions

View File

@ -235,8 +235,8 @@ export function getCustomTableHeader(key) {
let fields = [];
for (let i = 0; i < fieldStr.length; i++) {
let fieldKey = fieldStr[i];
for (const index in fieldSetting) {
let item = fieldSetting[index];
for (let j = 0; j < fieldSetting.length; j++) {
let item = fieldSetting[j];
if (item.key === fieldKey) {
fields.push(item);
break;