fix: 自定义字段列表展示
This commit is contained in:
parent
1d7fa771b4
commit
491f0f9d74
|
@ -268,7 +268,7 @@ function getCustomTableHeaderByFiledSetting(key, fieldSetting) {
|
||||||
* @returns {[]|*}
|
* @returns {[]|*}
|
||||||
*/
|
*/
|
||||||
export function getTableHeaderWithCustomFields(key, customFields) {
|
export function getTableHeaderWithCustomFields(key, customFields) {
|
||||||
let fieldSetting = CUSTOM_TABLE_HEADER[key];
|
let fieldSetting = [CUSTOM_TABLE_HEADER[key]];
|
||||||
let keys = getCustomFieldsKeys(customFields);
|
let keys = getCustomFieldsKeys(customFields);
|
||||||
customFields.forEach(item => {
|
customFields.forEach(item => {
|
||||||
if (!item.key) {
|
if (!item.key) {
|
||||||
|
|
Loading…
Reference in New Issue