Commit 4db41e14 by linjinhong

fix:取消尺寸

parent c29c0f1f
......@@ -37,13 +37,11 @@ export default {
const { width, height } = size;
console.log(`接收到窗口尺寸:${width}x${height}`);
let proportion;
if (height > 1000) {
proportion = 1.7;
} else if (height > 900 && height <= 1000) {
proportion = 1.5;
} else {
proportion = 1;
}
proportion = 1.7;
// } else {
// proportion = 1.5;
// }
this.$store.commit("setWHproportion", proportion);
this.$store.commit("setWindows", { width, height });
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment