From 0039152570a52d3bcfb1a63df45beb8b37c846af Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E5=98=89=E8=B1=AA?= <42510293+ziyujiahao@users.noreply.github.com> Date: Fri, 9 Jan 2026 16:11:43 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E5=A4=96=E9=83=A8?= =?UTF-8?q?=E5=8F=82=E6=95=B0=E5=A4=9A=E5=8F=82=E6=95=B0=E6=97=B6=EF=BC=8C?= =?UTF-8?q?=E9=BB=98=E8=AE=A4=E5=80=BC=E5=92=8C=E4=BC=A0=E5=85=A5=E5=80=BC?= =?UTF-8?q?=E4=B8=8D=E8=83=BD=E6=B7=B7=E7=94=A8=E9=97=AE=E9=A2=98=20(#1776?= =?UTF-8?q?9)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/store/modules/data-visualization/dvMain.ts | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/core/core-frontend/src/store/modules/data-visualization/dvMain.ts b/core/core-frontend/src/store/modules/data-visualization/dvMain.ts index 71a2873b76..5e4ad341af 100644 --- a/core/core-frontend/src/store/modules/data-visualization/dvMain.ts +++ b/core/core-frontend/src/store/modules/data-visualization/dvMain.ts @@ -1117,7 +1117,14 @@ export const dvMainStore = defineStore('dataVisualization', { targetInfo.defaultValue.length > 0 ) { // 非必填时 用户没有填写参数 但是启用默认值且有预设默认值时 - params[key] = JSON.parse(targetInfo.defaultValue) + if (paramsVersion === 'v2') { + params[key] = { + operator: 'in', + value: JSON.parse(targetInfo.defaultValue) + } + } else { + params[key] = JSON.parse(targetInfo.defaultValue) + } } else if (!userParamsIsNull) { params[key] = paramsPre[key] }