Commit 4aa61300 by 胡悦

提交

1 parent 7441db4b
......@@ -93,6 +93,7 @@ export default {
},
watch: {
show(n) {
console.log('=======', n, this.list)
if (n) this.init()
else this.scrollTop = 0
},
......@@ -101,7 +102,7 @@ export default {
handler(newval) {
this.pageNum = 1
this.scrollTop = 1000
this.list = []
setTimeout(() => {
this.scrollTop = 0
}, 100);
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!