派生自 wuyushui/SewerAndRainNetwork

wangrui
2020-12-22 b59fe688dd6034cf3080889c15113dff052fbabb
src/components/helpers/BasemapHelper.js
@@ -18,9 +18,9 @@
     * @param defBasemapName 初始化完成后,默认显示的图层
     */
    initBasemap = (mapConfig, isIntranet) => {
        if(isIntranet) {
            this._getToken(mapConfig); // 获取token,并按配置加载地图
        }else {
        if(isIntranet) { // 内网
            this._getToken(mapConfig); // 获取token后,并按配置加载地图
        }else { // 外网
            this._createBasemapByConfig(mapConfig)
        }