@@ -130,6 +130,10 @@ export default {
},
change(e) {
if (this.tabIndex != e.index) {
+ uni.pageScrollTo({
+ scrollTop: 0,
+ duration: 0
+ });
this.resetList();
this.list.finished = true;
this.tabIndex = e.index;