From 92fe0597ae071bd3de46d1afa4ed79a78e166cde Mon Sep 17 00:00:00 2001 From: taojinlong Date: Fri, 1 Apr 2022 11:18:08 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=A3=80=E9=AA=8C=E6=95=B0=E6=8D=AE?= =?UTF-8?q?=E6=BA=90=E9=87=8D=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/views/system/datasource/form.vue | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/frontend/src/views/system/datasource/form.vue b/frontend/src/views/system/datasource/form.vue index 93007a3de4..d16f0d717d 100644 --- a/frontend/src/views/system/datasource/form.vue +++ b/frontend/src/views/system/datasource/form.vue @@ -539,8 +539,13 @@ export default { return } let configuration = JSON.parse(child.configuration) + if(!configuration){ + return + } switch (this.form.type) { case 'mysql': + case 'TiDB': + case 'StarRocks': case 'hive': case 'mariadb': case 'ds_doris':