From eb74494c5fd1ab17537e0f47725c0740c8a62311 Mon Sep 17 00:00:00 2001 From: taojinlong Date: Tue, 17 Jan 2023 15:51:22 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20API=E6=95=B0=E6=8D=AE=E6=BA=90=E5=8A=A0?= =?UTF-8?q?=E5=AF=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/views/system/datasource/DsFormContent.vue | 2 ++ 1 file changed, 2 insertions(+) diff --git a/frontend/src/views/system/datasource/DsFormContent.vue b/frontend/src/views/system/datasource/DsFormContent.vue index cfff528d0e..7af186cf52 100644 --- a/frontend/src/views/system/datasource/DsFormContent.vue +++ b/frontend/src/views/system/datasource/DsFormContent.vue @@ -1018,6 +1018,7 @@ export default { delete item.status }) form.configuration = Base64.encode(JSON.stringify(form.apiConfiguration)) + form.apiConfiguration = [] } else { form.configuration = Base64.encode(JSON.stringify(form.configuration)) } @@ -1156,6 +1157,7 @@ export default { const data = JSON.parse(JSON.stringify(this.form)) if (data.type === 'api') { data.configuration = Base64.encode(JSON.stringify(data.apiConfiguration)) + data.apiConfiguration = [] } else { data.configuration = Base64.encode(JSON.stringify(data.configuration)) }