ui: problem_edit: fix multi-lang

This commit is contained in:
undefined committed 2021-05-05 17:34:25 +08:00
1 parent a5e3cf2c9b
commit 0c5f941203
5 files changed
+59 -62

No files matched your search

@@ -119,7 +119,7 @@ export default class Editor extends DOMAttachedObject {
value(val) {
this.ensureValid();
if (val) return this.editor.setValue(val);
if (typeof val === 'string') return this.editor.setValue(val);
return this.editor.getValue();
}