提交 836031f5 authored 作者: 王鹏飞's avatar 王鹏飞

bug fixes

上级 049eedbf
...@@ -52,6 +52,9 @@ export default { ...@@ -52,6 +52,9 @@ export default {
computed: { computed: {
avatar() { avatar() {
return this.data.replier.avatar || defaultAvatar return this.data.replier.avatar || defaultAvatar
},
contentHtml() {
return this.data.contents.replace(/\n/g, '<br />')
} }
}, },
methods: { methods: {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论