优化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
@@ -8806,6 +8806,7 @@ var renderDrawerContent = function renderDrawerContent() {};
return this.currentMessages;
},
setEditorValue: function setEditorValue(val) {
if (!isString(val)) return false;
this.$refs.editor.setValue(this.emojiNameToImage(val));
},
getEditorValue: function getEditorValue() {
+1
View File
@@ -8815,6 +8815,7 @@ var renderDrawerContent = function renderDrawerContent() {};
return this.currentMessages;
},
setEditorValue: function setEditorValue(val) {
if (!isString(val)) return false;
this.$refs.editor.setValue(this.emojiNameToImage(val));
},
getEditorValue: function getEditorValue() {
+1 -1
View File
File diff suppressed because one or more lines are too long