diff --git a/frontend/src/business/components/api/definition/components/MsCodeEdit.vue b/frontend/src/business/components/api/definition/components/MsCodeEdit.vue index 704523a513..10e988c0e0 100644 --- a/frontend/src/business/components/api/definition/components/MsCodeEdit.vue +++ b/frontend/src/business/components/api/definition/components/MsCodeEdit.vue @@ -17,7 +17,10 @@ props: { height: [String, Number], data: { - type: String + type: String, + default() { + return '' + } }, theme: { type: String, diff --git a/frontend/src/business/components/api/definition/components/response/RequestMetric.vue b/frontend/src/business/components/api/definition/components/response/RequestMetric.vue index e2f0a9a21d..155d7014d0 100644 --- a/frontend/src/business/components/api/definition/components/response/RequestMetric.vue +++ b/frontend/src/business/components/api/definition/components/response/RequestMetric.vue @@ -8,19 +8,19 @@ :content="responseResult.responseCode" placement="top"> -
+
{{ responseResult && responseResult.responseCode ? responseResult.responseCode : '0' }}
-
+
{{ responseResult && responseResult.responseCode ? responseResult.responseCode : '0' }}
-
+
{{ responseResult && responseResult.responseCode ? responseResult.responseCode : '0' }}
-
+
- {{ response.attachInfoMap.errorReportResult }} + {{ responseData.attachInfoMap.errorReportResult }}
@@ -39,7 +39,6 @@