This commit is contained in:
hh
2021-12-08 20:39:16 +08:00
parent ba2675b5ea
commit 2bab6d3839

View File

@ -25,6 +25,7 @@ export default {
window.addEventListener('resize', this.debounce(this.setScale))
},
methods: {
// to do
getScale () {
const { width, height } = this
const wh = window.innerHeight / height