split editor.

This commit is contained in:
2023-02-09 12:23:47 +08:00
parent b84d03f52f
commit 532a9991d2
4 changed files with 121 additions and 89 deletions

View File

@@ -45,7 +45,7 @@ onMounted(async () => {
lineNumbersMinChars: 2,
automaticLayout: true, // 自适应布局
tabSize: 4,
fontSize: isMobile.value ? 20 : 24, // 字体大小
fontSize: isMobile.value ? 20 : 22, // 字体大小
scrollBeyondLastLine: false,
lineDecorationsWidth: 0,
scrollBeyondLastColumn: 0,