修复输入内容换行引起的一些问题、修复IE浏览器下报错的问题
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
import {clearHtml } from 'utils';
|
||||
export default {
|
||||
file(message) {
|
||||
return "[文件]";
|
||||
@@ -6,7 +7,7 @@ export default {
|
||||
return "[图片]";
|
||||
},
|
||||
text(message) {
|
||||
return this.replaceEmojiName(message.content);
|
||||
return this.replaceEmojiName(clearHtml(message.content));
|
||||
},
|
||||
event(message){
|
||||
return '[通知]';
|
||||
|
||||
Reference in New Issue
Block a user