From 1d29540c77a0b736e10a9be0c0834c1813c3303e Mon Sep 17 00:00:00 2001
From: jinlin <jinlin>
Date: 星期三, 20 十二月 2023 14:51:04 +0800
Subject: [PATCH] 修改

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

diff --git a/web/public/index.html b/web/public/index.html
index 86fa7ca..a98fc71 100644
--- a/web/public/index.html
+++ b/web/public/index.html
@@ -3,6 +3,13 @@
 <head>
   <meta charset="UTF-8">
   <meta http-equiv="X-UA-Compatible" content="ie=edge">
+  <!--  <link rel='stylesheet' href='./excelData/plugins/css/pluginsCss.css' />-->
+  <!--  <link rel='stylesheet' href='./excelData/plugins/plugins.css' />-->
+  <!--  <link rel='stylesheet' href='./excelData/css/luckysheet.css' />-->
+  <!--  <link rel='stylesheet' href='./excelData/assets/iconfont/iconfont.css' />-->
+  <!--  <script src="./excelData/plugins/js/plugin.js"></script>-->
+  <!--  &lt;!&ndash;&lt;!&ndash; rollup luckysheet.js &ndash;&gt;&ndash;&gt;-->
+  <!--  <script src="./excelData/luckysheet.umd.js"></script>-->
   <!--   绔欑偣閰嶇疆-->
   <style>
     /* html,
@@ -382,6 +389,39 @@
     } else {
       window.location.href = './html/ie.html';
     }
+    if (!isMise || (isMise && versionNo>=11)) {
+      // if(window.document.location.href.indexOf('&system=djxl&')>-1){
+      // alert(window.document.location.href.indexOf('&system=djxl&'))
+      // document.getElementById("onload").style.display = "none"
+      // document.getElementById("ref").style.display = "none"
+      // document.getElementById("ref1").style.display = "none"
+
+      var css1 = document.createElement("link");
+      var css2 = document.createElement("link");
+      var css3 = document.createElement("link");
+      var css4 = document.createElement("link");
+
+      css1.setAttribute("rel", "stylesheet");
+      css1.setAttribute("href", "./excelData/plugins/css/pluginsCss.css");
+      css2.setAttribute("rel", "stylesheet");
+      css2.setAttribute("href", "./excelData/plugins/plugins.css");
+      css3.setAttribute("rel", "stylesheet");
+      css3.setAttribute("href", "./excelData/css/luckysheet.css");
+      css4.setAttribute("rel", "stylesheet");
+      css4.setAttribute("href", "./excelData/assets/iconfont/iconfont.css");
+
+      document.head.appendChild(css1);
+      document.head.appendChild(css2);
+      document.head.appendChild(css3);
+      document.head.appendChild(css4);
+
+      var js1 = document.createElement("script");
+      var js2 = document.createElement("script");
+      js1.setAttribute("src", "./excelData/plugins/js/plugin.js");
+      js2.setAttribute("src", "./excelData/luckysheet.umd.js");
+      document.head.appendChild(js1);
+      document.head.appendChild(js2);
+    }
   }
 
   window.onload = checkBrowserVersion();

--
Gitblit v1.9.1