Authored by yyq
Committed by lea guo

fix order list scorll

... ... @@ -120,7 +120,7 @@ export default {
}
},
activated() {
if (this.$yoho.direction === "back") {
if (this.$yoho.direction === 'back') {
this.scrollY && this.$refs.scroll.scrollTo(this.scrollY);
}
},
... ... @@ -157,9 +157,9 @@ export default {
next();
},
methods: {
...mapActions(["fetchOrderList", "confirmReceipt"]),
...mapMutations(["resetData"]),
scrollHandler({ y }) {
...mapActions(['fetchOrderList', 'confirmReceipt']),
...mapMutations(['resetData']),
scrollHandler({y}) {
this.scrollY = -y;
},
fetchData() {
... ...