|
|
@@ -34,7 +34,9 @@
|
|
|
var arr = obj.split("?")
|
|
|
if (arr.length && arr[1]) {
|
|
|
if (arr[1].indexOf("onlineIde_") > -1) {
|
|
|
- creteIframe(`http://106.12.170.138:4001/examples/onlineIde.html#${arr[1].replace("onlineIde_", "")}`)
|
|
|
+ // creteIframe(`http://106.12.170.138:4001/examples/onlineIde.html#${arr[1].replace("onlineIde_", "")}`)
|
|
|
+ // creteIframe(`http://127.0.0.1:8080/examples/webgl/onlineIde.html#${arr[1].replace("onlineIde_", "")}`)
|
|
|
+ creteIframe(`http://192.168.193.88:8080/examples/webgl/onlineIde.html#${arr[1].replace("onlineIde_", "")}`)
|
|
|
} else {
|
|
|
// creteIframe(arr[1])
|
|
|
creteIframe(`http://192.168.119.143:8080/onemapV5.0/mapview.html?${arr[1]}`)
|
|
|
@@ -46,6 +48,7 @@
|
|
|
const iframe = document.createElement('iframe');
|
|
|
iframe.style.width = '100vw';
|
|
|
iframe.style.height = '100vh';
|
|
|
+ iframe.style.border = '0px';
|
|
|
iframe.src = url;
|
|
|
document.body.appendChild(iframe);
|
|
|
}
|