------------------- 部分代码 -------------------
mounted() {
let self = this;
this.$nextTick(() => {
initMap(this);//地图加载
self.initViewer();//地图配置
});
},
methods: {
initViewer() {
//刷新配置
viewer.scene.requestRenderMode = false; //参考 https://blog.csdn.net/a571574085/article/details/112528448
},
}
网友评论