fix(仪表板、数据大屏): 看板的外部参数使用默认值向自定义 SQL 传参时拼接的SQL存在问题,导致数据无法正常显示。 #16577 (#16628)

This commit is contained in:
王嘉豪
2025-08-06 17:36:09 +08:00
committed by GitHub
parent 9b57c4b0cb
commit 80b5137a72

View File

@@ -1214,6 +1214,9 @@ export const dvMainStore = defineStore('dataVisualization', {
paramValue = [paramValue]
operator = 'eq'
} else if (paramValue && Array.isArray(paramValue)) {
if (paramValue.length === 1) {
operator = 'eq'
}
paramValueStr = ''
paramValue.forEach((innerValue, index) => {
if (index === 0) {