Update App.vue
This commit is contained in:
parent
022cc7c0c4
commit
eb1d1863e4
@ -73,7 +73,7 @@ onMounted(() => {
|
|||||||
setVh()
|
setVh()
|
||||||
// 监听resize事件 视图大小发生变化就重新计算1vh的值
|
// 监听resize事件 视图大小发生变化就重新计算1vh的值
|
||||||
window.addEventListener('resize', () => {
|
window.addEventListener('resize', () => {
|
||||||
location.reload()
|
location.href = '/'
|
||||||
setVh()
|
setVh()
|
||||||
})
|
})
|
||||||
//禁止选中文字
|
//禁止选中文字
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user