From ecc936e3bbe7c1ae5db83a0befb0adb9f8eded20 Mon Sep 17 00:00:00 2001 From: Lianjy Date: Thu, 10 Jun 2021 16:44:03 +0800 Subject: [PATCH] =?UTF-8?q?[*]=E5=8D=87=E7=BA=A7=E7=89=88=E6=9C=AC?= =?UTF-8?q?=E5=8F=B7=E8=87=B31.2.3=20=20fixbug=EF=BC=9A=20api=E5=88=87?= =?UTF-8?q?=E6=8D=A2=E6=97=B6editor=E5=86=85=E5=AE=B9=E4=B8=8D=E6=9B=B4?= =?UTF-8?q?=E6=96=B0=E5=8F=8A=E6=97=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- magic-api-spring-boot-starter/pom.xml | 2 +- magic-api/pom.xml | 2 +- magic-editor/pom.xml | 2 +- .../src/console/src/components/layout/magic-request.vue | 1 + pom.xml | 2 +- 5 files changed, 5 insertions(+), 4 deletions(-) diff --git a/magic-api-spring-boot-starter/pom.xml b/magic-api-spring-boot-starter/pom.xml index fd8f94b5..8a905adc 100644 --- a/magic-api-spring-boot-starter/pom.xml +++ b/magic-api-spring-boot-starter/pom.xml @@ -6,7 +6,7 @@ org.ssssssss magic-api-parent - 1.2.2 + 1.2.3 magic-api-spring-boot-starter jar diff --git a/magic-api/pom.xml b/magic-api/pom.xml index 28a561a5..924ae030 100644 --- a/magic-api/pom.xml +++ b/magic-api/pom.xml @@ -6,7 +6,7 @@ org.ssssssss magic-api-parent - 1.2.2 + 1.2.3 magic-api jar diff --git a/magic-editor/pom.xml b/magic-editor/pom.xml index c0fc9466..94d20e82 100644 --- a/magic-editor/pom.xml +++ b/magic-editor/pom.xml @@ -6,7 +6,7 @@ org.ssssssss magic-api-parent - 1.2.2 + 1.2.3 magic-editor jar diff --git a/magic-editor/src/console/src/components/layout/magic-request.vue b/magic-editor/src/console/src/components/layout/magic-request.vue index 8afb20ca..b7a8d78e 100644 --- a/magic-editor/src/console/src/components/layout/magic-request.vue +++ b/magic-editor/src/console/src/components/layout/magic-request.vue @@ -296,6 +296,7 @@ newBody += this.createJsonStr(requestBody.children, true) newBody += '\r\n]'; } + this.editorJson = formatJson(newBody) this.bodyEditor && this.bodyEditor.setValue(formatJson(newBody)) }, createJsonStr(data, arrayFlag = false) { diff --git a/pom.xml b/pom.xml index 1d6cdb67..9fd58279 100644 --- a/pom.xml +++ b/pom.xml @@ -5,7 +5,7 @@ 4.0.0 org.ssssssss magic-api-parent - 1.2.2 + 1.2.3 pom magic-api-parent auto generate http api