From 8dc33d1e8da59e87a2be6b921ac96600d7786685 Mon Sep 17 00:00:00 2001
From: chenyabin <Chenab123!>
Date: 星期二, 18 五月 2021 15:43:16 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/develop' into develop

---
 public/index.html |   11 +++++++++++
 1 files changed, 11 insertions(+), 0 deletions(-)

diff --git a/public/index.html b/public/index.html
index 6c18cb7..d50d35b 100644
--- a/public/index.html
+++ b/public/index.html
@@ -15,5 +15,16 @@
     </noscript>
     <div id="app"></div>
     <!-- built files will be auto injected -->
+    <script type="text/javascript">
+        (function(){
+            change();
+            function change(){
+                //html鐨� font-size 鐨勫ぇ灏忓昂瀵�
+                document.documentElement.style.fontSize = document.documentElement.clientWidth/12 +'px';
+            }
+            /* 鐩戝惉绐楀彛澶у皬鍙戠敓鏀瑰彉鏃�*/
+            window.addEventListener('resize',change,false);
+        })();
+    </script>
   </body>
 </html>

--
Gitblit v1.8.0