Skip to content

Commit a2e2715

Browse files
committed
【feature】webmap setMapId 优化
1 parent 66a5e9e commit a2e2715

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/common/mapping/WebMapBase.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@ export function createWebMapBaseExtending(SuperClass = Events, fireField = 'trig
8888
this.webMapInfo = null;
8989
} else if (mapId !== null && typeof mapId === 'object') {
9090
this.webMapInfo = mapId;
91+
this.mapId = '';
9192
}
9293
this.webMapService.setMapId(mapId);
9394
if (!mapId) {

0 commit comments

Comments
 (0)