mounted() {
console.log(scene.layers.layerQueue);//异步获取,代码运行时为空数组
console.log(scene.layers.layerQueue.length);//长度为0
//scene.layers.find('分区标志图标').isOverlapDisplayed = true;
//scene.layers.find('分区标志文字').isOverlapDisplayed = true;
}
VUE组件mounted中由于异步代码运行时layer还没加载出来有什么方法解决么