提交 a8f348ad 编写于 作者: W wanganxp 提交者: 雪洛

完善自定义tabbar的业务逻辑,但发现了Android和iOS的v-show bug

上级 24376458
...@@ -24,6 +24,7 @@ ...@@ -24,6 +24,7 @@
}, },
created() { created() {
this.loadData() this.loadData()
console.log("tab1 created");
}, },
methods: { methods: {
loadData() { loadData() {
...@@ -40,6 +41,7 @@ ...@@ -40,6 +41,7 @@
}, },
scrollTop(top : number) { scrollTop(top : number) {
(this.$refs["listView"] as UniElement).scrollTop = top (this.$refs["listView"] as UniElement).scrollTop = top
console.log("tab1 to top");
} }
} }
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册