feat: focus on product details
This commit is contained in:
parent
357f99675f
commit
e37d385a2c
2 changed files with 4 additions and 10 deletions
|
|
@ -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() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue