From 4605b862b46fba5e37f18d6b3912256726138cc4 Mon Sep 17 00:00:00 2001 From: taojinlong Date: Mon, 20 Nov 2023 11:49:57 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E7=BC=96=E8=BE=91sql=E6=95=B0=E6=8D=AE?= =?UTF-8?q?=E9=9B=86=EF=BC=8C=E8=AE=BE=E7=BD=AE=E5=8F=82=E6=95=B0=E5=87=BA?= =?UTF-8?q?=E9=94=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/frontend/src/views/dataset/add/AddSQL.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/frontend/src/views/dataset/add/AddSQL.vue b/core/frontend/src/views/dataset/add/AddSQL.vue index 1811ee3c80..f4be2b1bac 100644 --- a/core/frontend/src/views/dataset/add/AddSQL.vue +++ b/core/frontend/src/views/dataset/add/AddSQL.vue @@ -1103,7 +1103,7 @@ export default { for (let i = 0; i < this.variables.length; i++) { if (this.variables[i].variableName === name) { obj = this.variables[i] - if (Object.prototype.hasOwnProperty.call(obj, 'defaultValueScope')) { + if (!Object.prototype.hasOwnProperty.call(obj, 'defaultValueScope')) { obj.defaultValueScope = 'EDIT' } }