@@ -264,7 +270,9 @@
name="side"
checked="checked"
/>
-
+
@@ -435,7 +443,7 @@ export default {
: res;
this.responseString = JSON.stringify(data.data, null, 2);
-
+
this.$nuxt.$loading.finish();
const duration = Date.now() - startTime;
this.$toast.info(`Finished in ${duration}ms`, {
@@ -449,7 +457,6 @@ export default {
});
console.log("Error", error);
}
-
},
async getSchema() {
const startTime = Date.now();
diff --git a/pages/index.vue b/pages/index.vue
index 5e0f36259..4e0f00ea1 100644
--- a/pages/index.vue
+++ b/pages/index.vue
@@ -24,14 +24,18 @@
-
+ :lang="'javascript'"
+ :options="{
+ maxLines: responseBodyMaxLines,
+ minLines: '16',
+ fontSize: '16px',
+ autoScrollEditorIntoView: true,
+ showPrintMargin: false,
+ useWorker: false
+ }"
+ />
@@ -126,10 +130,10 @@
- {{ $t("raw_input") }}
- {{ rawInput ? $t("enabled") : $t("disabled") }}
+
+ {{ $t("raw_input") }}
+ {{ rawInput ? $t("enabled") : $t("disabled") }}
+
@@ -625,7 +630,7 @@