af-mobile-client-vue3 1.6.32 → 1.6.34
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -376,10 +376,10 @@ function init(params: InitParams = {}): Promise<void> {
|
|
|
376
376
|
const amapKey = res.amapKey || '5ebabc4536d4b42e0dd1e20175cca8ab'
|
|
377
377
|
|
|
378
378
|
const initMapOptionConfig = res.mapOptionConfig
|
|
379
|
-
if (initMapOptionConfig
|
|
379
|
+
if (initMapOptionConfig?.mapType) {
|
|
380
380
|
currentMapType.value = initMapOptionConfig.mapType
|
|
381
381
|
}
|
|
382
|
-
if (initMapOptionConfig
|
|
382
|
+
if (initMapOptionConfig?.mapOption) {
|
|
383
383
|
layerOptions = initMapOptionConfig.mapOption
|
|
384
384
|
}
|
|
385
385
|
|