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