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,7 +68,9 @@ function setContent(value: string = "") {
|
||||
value = value.toString();
|
||||
}
|
||||
|
||||
editor?.setValue(value);
|
||||
if (value != getContent()) {
|
||||
editor?.setValue(value);
|
||||
}
|
||||
}
|
||||
|
||||
// 格式化内容
|
||||
|
Loading…
Reference in New Issue
Block a user