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
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "af-mobile-client-vue3",
3
3
  "type": "module",
4
- "version": "1.6.32",
4
+ "version": "1.6.34",
5
5
  "packageManager": "pnpm@10.13.1",
6
6
  "description": "Vue + Vite component lib",
7
7
  "engines": {
@@ -138,7 +138,7 @@ defineExpose<SignatureComponentExpose>({
138
138
  <template>
139
139
  <!-- App:原生签字板 -->
140
140
  <SignatureComponent
141
- v-if="isApp.value"
141
+ v-if="isApp"
142
142
  ref="nativeSignatureRef"
143
143
  :label="label"
144
144
  :required="required"
@@ -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