fix: some style bugs

* i18n: change the naming convention of keys
* refactor(BewSelect):  using composition api
This commit is contained in:
Hakadao
2023-03-22 02:10:26 +08:00
parent d4b5b5295d
commit d5daa2a74d
8 changed files with 56 additions and 58 deletions

View File

@@ -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)
},
)