mirror of
https://github.com/cool-team-official/cool-admin-vue.git
synced 2024-11-01 14:10:27 +08:00
优化
This commit is contained in:
parent
30384e0b6a
commit
67e94cda63
@ -68,8 +68,10 @@ function setContent(value: string = "") {
|
||||
value = value.toString();
|
||||
}
|
||||
|
||||
if (value != getContent()) {
|
||||
editor?.setValue(value);
|
||||
}
|
||||
}
|
||||
|
||||
// 格式化内容
|
||||
async function formatCode() {
|
||||
|
Loading…
Reference in New Issue
Block a user