From cdf29a8f6fb9990f82ccc1d3f47bfba48cfaf4fc Mon Sep 17 00:00:00 2001
From: jinlin <jinlin>
Date: 星期三, 10 一月 2024 17:24:53 +0800
Subject: [PATCH] 修改
---
web/public/index.html | 44 ++++++++++++++++++++++++++++++++++++++++++--
1 files changed, 42 insertions(+), 2 deletions(-)
diff --git a/web/public/index.html b/web/public/index.html
index 86fa7ca..8057bbc 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>-->
+ <!-- <!–<!– rollup luckysheet.js –>–>-->
+ <!-- <script src="./excelData/luckysheet.umd.js"></script>-->
<!-- 绔欑偣閰嶇疆-->
<style>
/* html,
@@ -212,8 +219,8 @@
window.SITE_CONFIG['dynamicMenuRoutesHasAdded'] = false; // 鍔ㄦ��(鑿滃崟)璺敱鏄惁宸茬粡娣诲姞鐨勭姸鎬佹爣绀猴紙鐢ㄤ簬鍒ゆ柇鏄惁闇�瑕侀噸鏂版媺鍙栨暟鎹苟杩涜鍔ㄦ�佹坊鍔犳搷浣滐級
// 鏈嶅姟鍦板潃
- window.SITE_CONFIG['apiURL'] = 'http://' + location.hostname + ':8058/life-protection';
- window.SITE_CONFIG['apiURL2'] = 'http://' + location.hostname + ':8058/life-protection';
+ window.SITE_CONFIG['apiURL'] = 'http://' + location.hostname + ':8050/life-protection';
+ window.SITE_CONFIG['apiURL2'] = 'http://' + location.hostname + ':8050/life-protection';
//window.SITE_CONFIG['apiURL2'] = 'http://'+location.hostname+':8066';
//window.SITE_CONFIG['apiURL'] = '<%= process.env.VUE_APP_API_URL %>';
@@ -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