mxd 3 سال پیش
والد
کامیت
4bec10d364

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

@@ -44,6 +44,7 @@ export default {
       folding: false,
       lineDecorationsWidth: 20,
       fixedOverflowWidgets: false,
+      renderWhitespace: 'none',
       fontFamily: contants.EDITOR_FONT_FAMILY,
       fontSize: contants.EDITOR_FONT_SIZE,
       fontLigatures: true

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

@@ -117,6 +117,7 @@ export default {
       fontFamily: contants.EDITOR_FONT_FAMILY,
       fontSize: contants.EDITOR_FONT_SIZE,
       fontLigatures: true,
+      renderWhitespace: 'none',
       // 自动调整大小
       automaticLayout: true
     })

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

@@ -353,6 +353,7 @@
             fontFamily: contants.EDITOR_FONT_FAMILY,
             fontSize: contants.EDITOR_FONT_SIZE,
             fontLigatures: true,
+            renderWhitespace: 'none',
             theme: store.get('skin') || 'default',
             value: formatJson(this.info.requestBody) || '{\r\n\t\r\n}'
           })

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

@@ -114,6 +114,7 @@ export default {
         fontSize: contants.EDITOR_FONT_SIZE,
         fontLigatures: true,
         value: this.info.responseBody || '',
+        renderWhitespace: 'none',
         theme: store.get('skin') || 'default'
       })
       bus.$on('update-window-size', () => this.updateSize())

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

@@ -79,6 +79,7 @@ export default {
           readOnly: true,
           fontLigatures: true,
           scrollBeyondLastLine: false,
+          renderWhitespace: 'none',
           fontFamily: contants.EDITOR_FONT_FAMILY,
           fontSize: contants.EDITOR_FONT_SIZE,
           theme: store.get('skin') || 'default'

+ 1 - 0
magic-editor/src/console/src/components/resources/magic-datasource-list.vue

@@ -316,6 +316,7 @@ export default {
             fontFamily: contants.EDITOR_FONT_FAMILY,
             fontSize: contants.EDITOR_FONT_SIZE,
             fontLigatures: true,
+            renderWhitespace: 'none',
             theme: store.get('skin') || 'default',
             value: formatJson(temp) || '{\r\n\t\r\n}'
           })