hot-fix^2
heiferleaf 2 months ago
parent d3e4ae3688
commit c4db02796b

@ -441,6 +441,15 @@ export default {
};
type();
},
parseMarkdown(markdown) {
//
let html = marked(markdown || "");
//
html = html.replace(/<script.*?>.*?<\/script>/gi, "");
return html;
},
scrollToBottom() {
this.$nextTick(() => {
this.scrollToView = "msg" + (this.messages.length - 1);

Loading…
Cancel
Save