优化setEditorValue
This commit is contained in:
Vendored
+1
@@ -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() {
|
||||
|
||||
Vendored
+1
@@ -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() {
|
||||
|
||||
Vendored
+1
-1
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user