优化setEditorValue

This commit is contained in:
fan committed 2021-01-31 20:28:59 +08:00
1 parent 44c6063a03
commit 083c700ade
9 files changed
+10 -7

No files matched your search

+1
View File
@@ -888,6 +888,7 @@ export default {
return this.currentMessages;
},
setEditorValue(val){
if(!isString(val)) return false;
this.$refs.editor.setValue(this.emojiNameToImage(val));
},
getEditorValue(){