Explorar o código

修复编辑器不显示RequestBody的问题

mxd %!s(int64=4) %!d(string=hai) anos
pai
achega
c7e5c6c07d

+ 1 - 0
magic-editor/src/console/src/components/editor/magic-script-editor.vue

@@ -336,6 +336,7 @@ export default {
             item.paths = data.paths;
             item.responseHeader = JSON.parse(data.responseHeader || '[]')
             item.responseBody = data.responseBody
+            item.requestBody = data.requestBody
             item.method = data.method
           }
           item.script = data.script