Prettified
This commit is contained in:
parent
b3f4e09a21
commit
89e1708288
3 changed files with 4 additions and 5 deletions
|
|
@ -12,7 +12,7 @@ jest.mock("@/mixins/base-mixin", () => ({
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
scrollToPageBottom() {}
|
scrollToPageBottom() {},
|
||||||
},
|
},
|
||||||
}));
|
}));
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -141,7 +141,6 @@ export default {
|
||||||
await this.$nextTick();
|
await this.$nextTick();
|
||||||
|
|
||||||
this.scrollToPageBottom();
|
this.scrollToPageBottom();
|
||||||
|
|
||||||
},
|
},
|
||||||
resetShopList() {
|
resetShopList() {
|
||||||
this.answers = [];
|
this.answers = [];
|
||||||
|
|
|
||||||
|
|
@ -106,7 +106,7 @@ export default {
|
||||||
scrollToPageBottom() {
|
scrollToPageBottom() {
|
||||||
const container = document.getElementsByClassName("page-container-grouped-styles")[0];
|
const container = document.getElementsByClassName("page-container-grouped-styles")[0];
|
||||||
container.scrollTo({ top: container.scrollHeight, left: 0, behavior: "smooth" });
|
container.scrollTo({ top: container.scrollHeight, left: 0, behavior: "smooth" });
|
||||||
}
|
},
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
storeActions() {
|
storeActions() {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue