优化setEditorValue

This commit is contained in:
fan
2021-01-31 20:28:59 +08:00
parent 44c6063a03
commit 083c700ade
9 changed files with 10 additions and 7 deletions
+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(){