Commit 426b4948ff3b375d426fc93db9bee18a658c8b97

Authored by 黄 x
1 parent 3d86f998

fix- layui cdn address

Showing 1 changed file with 5 additions and 5 deletions
@@ -19,8 +19,8 @@ @@ -19,8 +19,8 @@
19 <script src="./plugins/axios.min.js"></script> 19 <script src="./plugins/axios.min.js"></script>
20 <script src="./js/jquery/jquery-3.3.1.min.js"></script> 20 <script src="./js/jquery/jquery-3.3.1.min.js"></script>
21 <script src="./js/jquery.easyui.min.js"></script> 21 <script src="./js/jquery.easyui.min.js"></script>
22 - <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/layui/2.6.8/css/layui.min.css" integrity="sha512-iQBJbsNHXUcgEIgWThd2dr8tOdKPvICwqjPEZYY81z3eMya44A5MiAqfWSCh+Ee1YzNYkdrI982Qhwgr8LEYOQ==" crossorigin="anonymous" referrerpolicy="no-referrer" />  
23 - <script src="https://cdnjs.cloudflare.com/ajax/libs/layui/2.6.8/layui.min.js" integrity="sha512-EKrFvch3qTzLFQgjbcjpsRmF8T3UCtc9ojtMAu6dvvP+bV8qYUDOaQ84nwYCkSLT7lbqGoya/Kf+8fyCBE0vRg==" crossorigin="anonymous" referrerpolicy="no-referrer"></script> 22 + <link rel="stylesheet" href="https://cdnjs.loli.net/ajax/libs/layui/2.6.8/css/layui.min.css" integrity="sha512-iQBJbsNHXUcgEIgWThd2dr8tOdKPvICwqjPEZYY81z3eMya44A5MiAqfWSCh+Ee1YzNYkdrI982Qhwgr8LEYOQ==" crossorigin="anonymous" referrerpolicy="no-referrer" />
  23 + <script src="https://cdnjs.loli.net/ajax/libs/layui/2.6.8/layui.min.js" integrity="sha512-EKrFvch3qTzLFQgjbcjpsRmF8T3UCtc9ojtMAu6dvvP+bV8qYUDOaQ84nwYCkSLT7lbqGoya/Kf+8fyCBE0vRg==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
24 24
25 <!-- 引入select.zTree及相关依赖 --> 25 <!-- 引入select.zTree及相关依赖 -->
26 <link rel="stylesheet" href="./styles/zTreeStyle.css" type="text/css"> 26 <link rel="stylesheet" href="./styles/zTreeStyle.css" type="text/css">
@@ -276,9 +276,9 @@ @@ -276,9 +276,9 @@
276 mxForceIncludes = true; 276 mxForceIncludes = true;
277 } 277 }
278 if (location.hostname == 'localhost' || location.hostname == '127.0.0.1' || location.hostname == '192.168.10.111') { 278 if (location.hostname == 'localhost' || location.hostname == '127.0.0.1' || location.hostname == '192.168.10.111') {
279 - drawDevUrl = `http://${location.hostname}:5000/`;  
280 - geBasePath = `http://${location.hostname}:5000/js/grapheditor`;  
281 - mxBasePath = `http://${location.hostname}:5000/mxgraph`; 279 + drawDevUrl = `http://${location.hostname}:3000/`;
  280 + geBasePath = `http://${location.hostname}:3000/js/grapheditor`;
  281 + mxBasePath = `http://${location.hostname}:3000/mxgraph`;
282 mxForceIncludes = true; 282 mxForceIncludes = true;
283 } 283 }
284 mxForceIncludes = false; 284 mxForceIncludes = false;