Commit 70d0fea6 by 李伟康

文字喜报复位

1 parent a7da0993
......@@ -22,6 +22,7 @@
<div
class="content"
v-html="data.text"
ref="textBox"
>
</div>
<van-button
......@@ -67,6 +68,9 @@ export default {
watch: {
value (n) {
this.show = n
if (n && this.data.pushType == 5) this.$nextTick(() => {
this.$refs.textBox.scrollTop = 0
})
}
},
mounted () {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!