Merge pull request #90 from zyronon/test

save
This commit is contained in:
Zyronon 2024-06-06 16:46:54 +08:00 committed by GitHub
commit 83caeaf669
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -56,7 +56,7 @@ watch(
function resetVhAndPx() { function resetVhAndPx() {
let vh = window.innerHeight * 0.01 let vh = window.innerHeight * 0.01
document.documentElement.style.setProperty('--vh', `${vh}px`) document.documentElement.style.setProperty('--vh', `${vh}px`)
document.documentElement.style.fontSize = document.documentElement.clientWidth / 375 + 'px' //document.documentElement.style.fontSize = document.documentElement.clientWidth / 375 + 'px'
} }
onMounted(() => { onMounted(() => {