From 4867c68960fc77dedb36e3f33d80e4da6e9d26cd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BA=8E=E8=82=96=E7=A3=8A?= <18851179580@163.com> Date: Wed, 22 Jan 2025 16:06:09 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9D=A1=E4=BB=B6=E5=88=A4=E6=96=AD=E9=80=BB?= =?UTF-8?q?=E8=BE=91=E5=A4=84=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- common/js/common/common.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/js/common/common.js b/common/js/common/common.js index f2a974c7..fc9ec7f1 100644 --- a/common/js/common/common.js +++ b/common/js/common/common.js @@ -211,7 +211,7 @@ export const custom_condition_data = (data_source_id, option, sourceList, isCust data_value = data_handling(data_source_id, sourceList, isCustom); } // 根据配置选项,添加前缀和后缀到处理后的数据 - return (option?.first || '') + data_value + (option?.last || ''); + return Array.isArray(data_value) || typeof data_value === "object" ? data_value : ((option?.first || '') + data_value + (option?.last || '')); } /**