feat: focus on product details

This commit is contained in:
Vlad Stan 2023-07-14 11:47:19 +03:00
parent 357f99675f
commit e37d385a2c
2 changed files with 4 additions and 10 deletions

View file

@ -76,6 +76,9 @@ async function customerStall(path) {
},
methods: {
changePageS(page, opts) {
if (page === 'stall' && opts?.product) {
document.getElementById('product-focus-area')?.scrollIntoView()
}
this.$emit('change-page', page, opts)
},
makeLogin() {