liuyg
2021-12-29 666c61a8dca571045e422e6c85f1b7a8179f0df5
src/store/onresize.js
@@ -7,10 +7,13 @@
        let innerWH = {
            innerWidth: window.innerWidth,
            innerHeight: window.innerHeight,
            // innerWidth: document.documentElement.clientWidth,
            // innerHeight: document.documentElement.clientHeight,
        }
        _this.$store.commit('setWindowSize', innerWH);
        // console.log(' window.innerWidth', window.innerWidth);
        // console.log(' window.innerHeight', window.innerHeight);
        _this.$store.dispatch("changeZoom");
    }
}