订单列表切换后返回顶部
This commit is contained in:
parent
eff4ed30e5
commit
cf5f6f27d4
|
@ -193,6 +193,10 @@ export default {
|
||||||
this.$nextTick(() => {
|
this.$nextTick(() => {
|
||||||
this.setTabHeight();
|
this.setTabHeight();
|
||||||
});
|
});
|
||||||
|
uni.pageScrollTo({
|
||||||
|
scrollTop: 0,
|
||||||
|
duration: 100,
|
||||||
|
});
|
||||||
},
|
},
|
||||||
changeTab(e) {
|
changeTab(e) {
|
||||||
this.switchTab(e.detail.current);
|
this.switchTab(e.detail.current);
|
||||||
|
|
Loading…
Reference in New Issue