summaryrefslogtreecommitdiff
path: root/src/assets/js
diff options
context:
space:
mode:
authorll <[email protected]>2024-07-11 20:41:37 +0800
committerll <[email protected]>2024-07-11 20:41:37 +0800
commitbafa736c04845e103d7e3747a8152b410d1628fb (patch)
tree032d00938963b7cb21ff5c57e4f08723b521ae41 /src/assets/js
parentac8bc7f895baa346cdb498e1b8be41ce66130afd (diff)
Initial commitHEADmain
Diffstat (limited to 'src/assets/js')
-rw-r--r--src/assets/js/drawMixin.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/assets/js/drawMixin.js b/src/assets/js/drawMixin.js
index 9f2f8c3..d9cf1b6 100644
--- a/src/assets/js/drawMixin.js
+++ b/src/assets/js/drawMixin.js
@@ -33,6 +33,7 @@ export default {
if (!appRef) return
// 当前宽高比
const currentRate = parseFloat((window.innerWidth / window.innerHeight).toFixed(5))
+ console.log("currentSize: ", window.innerWidth, "++++", window.innerHeight)
if (appRef) {
if (currentRate > baseProportion) {
// 表示更宽