add testcase panel.

This commit is contained in:
2023-01-13 14:26:51 +08:00
parent 31fc880c99
commit 46fcccda35
14 changed files with 146 additions and 87 deletions

View File

@@ -46,6 +46,7 @@ onMounted(async function () {
automaticLayout: true, // 自适应布局
tabSize: 4,
fontSize: isMobile.value ? 20 : 24, // 字体大小
scrollBeyondLastLine: false,
})
model.onDidChangeContent(() => {
@@ -68,7 +69,6 @@ onMounted(async function () {
watchEffect(() => {
if (props.value !== model.getValue()) {
console.log(666)
model.setValue(props.value)
}
})