|
@@ -1388,9 +1388,9 @@ export default {
|
|
|
boxSelection(){
|
|
|
let that=this;
|
|
|
let layersAll = [];
|
|
|
- that.checkedCities.forEach(url => {
|
|
|
- if (!url) return; // 如果没有 URL,跳过当前迭代
|
|
|
- SuperMap3D.when.all(that.selectMapObj_3D(url), function (layers) {
|
|
|
+ that.checkedCities.forEach(urlList => {
|
|
|
+ if (!urlList.length) return; // 如果没有 URL,跳过当前迭代 // 如果没有 URL,跳过当前迭代
|
|
|
+ SuperMap3D.when.all(that.selectMapObj_3D(urlList[0]), function (layers) {
|
|
|
layersAll.push(layers)
|
|
|
});
|
|
|
});
|