fix: 自定义字段列表展示

This commit is contained in:
chenjianxing 2021-06-11 11:57:31 +08:00 committed by jianxing
parent 1d7fa771b4
commit 491f0f9d74
1 changed files with 1 additions and 1 deletions

View File

@ -268,7 +268,7 @@ function getCustomTableHeaderByFiledSetting(key, fieldSetting) {
* @returns {[]|*}
*/
export function getTableHeaderWithCustomFields(key, customFields) {
let fieldSetting = CUSTOM_TABLE_HEADER[key];
let fieldSetting = [CUSTOM_TABLE_HEADER[key]];
let keys = getCustomFieldsKeys(customFields);
customFields.forEach(item => {
if (!item.key) {