From 666c61a8dca571045e422e6c85f1b7a8179f0df5 Mon Sep 17 00:00:00 2001
From: liuyg <376836862@qq.com>
Date: Wed, 29 Dec 2021 13:41:37 +0800
Subject: [PATCH] +搜索确认按钮位置 加上展开, 适应1366 768分辨率的缩放zoom ,
---
src/store/onresize.js | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/src/store/onresize.js b/src/store/onresize.js
index da66589..2169b6b 100644
--- a/src/store/onresize.js
+++ b/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");
}
}
--
Gitblit v1.9.3