From 491f0f9d74eb5d18a1f049f36f0d91b98684a889 Mon Sep 17 00:00:00 2001 From: chenjianxing Date: Fri, 11 Jun 2021 11:57:31 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E8=87=AA=E5=AE=9A=E4=B9=89=E5=AD=97?= =?UTF-8?q?=E6=AE=B5=E5=88=97=E8=A1=A8=E5=B1=95=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/common/js/tableUtils.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/common/js/tableUtils.js b/frontend/src/common/js/tableUtils.js index 6cb40b4322..7256235c1e 100644 --- a/frontend/src/common/js/tableUtils.js +++ b/frontend/src/common/js/tableUtils.js @@ -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) {