mirror of
https://gitee.com/ssssssss-team/magic-api.git
synced 2026-05-31 11:01:57 +08:00
样式优化
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -117,6 +117,7 @@ export default {
|
||||
fontFamily: contants.EDITOR_FONT_FAMILY,
|
||||
fontSize: contants.EDITOR_FONT_SIZE,
|
||||
fontLigatures: true,
|
||||
renderWhitespace: 'none',
|
||||
// 自动调整大小
|
||||
automaticLayout: true
|
||||
})
|
||||
|
||||
@@ -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}'
|
||||
})
|
||||
|
||||
@@ -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())
|
||||
|
||||
@@ -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'
|
||||
|
||||
@@ -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}'
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user