mars3d文件

This commit is contained in:
shijing 2024-03-08 09:24:08 +08:00
parent e13a52beea
commit be92fd5ce1
1 changed files with 4 additions and 8 deletions

View File

@ -21,14 +21,10 @@ export default {
}
},
created() {
const scriptInfo = document.createElement("script");
scriptInfo.setAttribute("data-callType", "callScript");
scriptInfo.src = "http://mars3d.cn/lib/Cesium/Cesium.js";
const scriptInfo1 = document.createElement("script");
scriptInfo1.setAttribute("data-callType", "callScript");
scriptInfo1.src = "http://mars3d.cn/lib/mars3d/mars3d.js";
document.head.appendChild(scriptInfo);
document.head.appendChild(scriptInfo1);
// const scriptInfo = document.createElement("script");
// scriptInfo.setAttribute("data-callType", "callScript");
// scriptInfo.src = "http://mars3d.cn/lib/Cesium/Cesium.js";
// document.head.appendChild(scriptInfo);
},
mounted() {
var mapOptions = {