From e7791d49c34830afd20c74a700142a204c4382a8 Mon Sep 17 00:00:00 2001 From: "liu.shiyi" Date: Wed, 26 Jul 2023 09:52:25 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E4=BF=AE=E6=94=B9http=E6=95=B0=E6=8D=AE?= =?UTF-8?q?=E9=9B=86=E6=95=B0=E6=8D=AE=E5=9B=9E=E6=98=BE=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../packages/DataSetManagement/src/HttpEditForm.vue | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/data-room-ui/packages/DataSetManagement/src/HttpEditForm.vue b/data-room-ui/packages/DataSetManagement/src/HttpEditForm.vue index 28eb0f64..6a402d6d 100644 --- a/data-room-ui/packages/DataSetManagement/src/HttpEditForm.vue +++ b/data-room-ui/packages/DataSetManagement/src/HttpEditForm.vue @@ -63,7 +63,6 @@ { const { id, name, typeId, remark, datasetType, moduleCode, editable, sourceId, config } = res const { script, paramsList, fieldDesc, fieldList } = config - this.dataForm = { id, name, typeId, remark, datasetType, moduleCode, editable, sourceId, config: { script, paramsList } } + this.dataForm = { id, name, typeId, remark, datasetType, moduleCode, editable, sourceId, config: { ...config } } this.fieldDesc = fieldDesc this.outputFieldList = fieldList this.scriptExecute(true) @@ -805,6 +804,7 @@ export default { body: dataForm.config.body, requestScript: dataForm.config.requestScript, responseScript: dataForm.config.responseScript, + requestType: dataForm.config.requestType, fieldDesc, paramsList: dataForm.config.paramsList, fieldList: outputFieldList