af-mobile-client-vue3 1.6.33 → 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
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "af-mobile-client-vue3",
3
3
  "type": "module",
4
- "version": "1.6.33",
4
+ "version": "1.6.34",
5
5
  "packageManager": "pnpm@10.13.1",
6
6
  "description": "Vue + Vite component lib",
7
7
  "engines": {
@@ -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.mapType) {
379
+ if (initMapOptionConfig?.mapType) {
380
380
  currentMapType.value = initMapOptionConfig.mapType
381
381
  }
382
- if (initMapOptionConfig.mapOption) {
382
+ if (initMapOptionConfig?.mapOption) {
383
383
  layerOptions = initMapOptionConfig.mapOption
384
384
  }
385
385