mxd 3 жил өмнө
parent
commit
61e3a8ef7b

+ 1 - 1
magic-editor/src/console/src/components/layout/magic-run.vue

@@ -102,7 +102,7 @@ export default {
       this.layout()
     },
     updateResponseBody(bodyStr) {
-        if (['{}','[]'].indexOf(bodyStr.replace(/\s/g,"")) > -1) {
+        if (!bodyStr || ['{}','[]'].indexOf(bodyStr.replace(/\s/g,"")) > -1) {
           this.responseBody = []
           return false
         }