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)) window.addEventListener('resize', this.debounce(this.setScale))
}, },
methods: { methods: {
// to do
getScale () { getScale () {
const { width, height } = this const { width, height } = this
const wh = window.innerHeight / height const wh = window.innerHeight / height