mirror of
https://github.com/BewlyBewly/BewlyBewly.git
synced 2025-04-14 13:15:29 +00:00
fix: some style bugs
* i18n: change the naming convention of keys * refactor(BewSelect): using composition api
This commit is contained in:
@@ -37,7 +37,9 @@ const mainApp = ref<HTMLElement>()
|
||||
watch(
|
||||
() => activatedPage.value,
|
||||
(newValue, oldValue) => {
|
||||
window.scrollTo({ top: 0, behavior: 'smooth' })
|
||||
setTimeout(() => {
|
||||
window.scrollTo(0, 0)
|
||||
}, 500)
|
||||
},
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user