From 0894a00e1bb4b07f0ba5019e58236e0b3013075e Mon Sep 17 00:00:00 2001
From: luxiaotao1123 <t1341870251@163.com>
Date: 星期五, 01 三月 2024 09:43:17 +0800
Subject: [PATCH] #
---
zy-asrs-flow/src/pages/map/index.css | 4 ++++
zy-asrs-flow/src/pages/map/index.jsx | 1 -
2 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/zy-asrs-flow/src/pages/map/index.css b/zy-asrs-flow/src/pages/map/index.css
index 8988633..a73bce1 100644
--- a/zy-asrs-flow/src/pages/map/index.css
+++ b/zy-asrs-flow/src/pages/map/index.css
@@ -5,4 +5,8 @@
.ant-layout {
min-height: 50vh;
+}
+
+* {
+ box-sizing: border-box;
}
\ No newline at end of file
diff --git a/zy-asrs-flow/src/pages/map/index.jsx b/zy-asrs-flow/src/pages/map/index.jsx
index 30e80cd..cf4f953 100644
--- a/zy-asrs-flow/src/pages/map/index.jsx
+++ b/zy-asrs-flow/src/pages/map/index.jsx
@@ -65,7 +65,6 @@
const width = contentRef.current.offsetWidth;
const height = contentRef.current.offsetHeight;
app.renderer.resize(width, height);
-
}, [windowSize]);
return (
--
Gitblit v1.9.1