|
@@ -2,7 +2,8 @@
|
|
|
// 换成本地的服务器js文件即可
|
|
|
// console.log(window.location.origin)
|
|
|
let script = [
|
|
|
- 'http://127.0.0.1:9000/bigemap.js/v2.1.0/bigemap.js',
|
|
|
+ // 'http://127.0.0.1:9000/bigemap.js/v2.1.0/bigemap.js',
|
|
|
+ 'https://135.48.15.221:3000/bigemap.js/v2.1.0/bigemap.js',
|
|
|
//如果有更多的JS要引用 ,也一起放到这个数组中
|
|
|
//window.location.origin+'/bigemap-gl.js/v1.1.0/bigemap-gl.js',
|
|
|
//window.location.origin+':3000/bigemap.js/v2.1.0/bigemap.js',
|
|
@@ -24,7 +25,8 @@ export default new Promise(resolve => {
|
|
|
link.rel = "stylesheet";
|
|
|
link.async = false;
|
|
|
// 换成本地的服务器css文件即可
|
|
|
- link.href = "http://127.0.0.1:9000/bigemap.js/v2.1.0/bigemap.css";
|
|
|
+ // link.href = "http://127.0.0.1:9000/bigemap.js/v2.1.0/bigemap.css";
|
|
|
+ link.href = "https://135.48.15.221:3000/bigemap.js/v2.1.0/bigemap.css"; // 公安网
|
|
|
//link.href =window.location.origin+":3000/bigemap.js/v2.1.0/bigemap.css";
|
|
|
//document.head.appendChild(link);
|
|
|
//link.href = "http://localhost:9000/bigemap-gl.js/v1.1.0/Widgets/widgets.css";
|