修复自定义指令lemon-contextmenu报错的问题

This commit is contained in:
范君
2021-02-01 15:16:37 +08:00
parent 134353495f
commit 740d9a527d
36 changed files with 16518 additions and 691 deletions
+6 -8
View File
@@ -1,17 +1,15 @@
import {clearHtml } from 'utils';
export default {
voice(message) {
return "[语音]";
},
file(message) {
return "[文件]";
},
video(message) {
return "[视频]";
},
image(message) {
return "[图片]";
},
text(message) {
return this.replaceEmojiName(message.content);
}
return this.emojiNameToImage(clearHtml(message.content));
},
event(message){
return '[通知]';
},
};