af-mobile-client-vue3 1.4.43 → 1.4.45

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.4.43",
4
+ "version": "1.4.45",
5
5
  "packageManager": "pnpm@10.13.1",
6
6
  "description": "Vue + Vite component lib",
7
7
  "engines": {
@@ -355,7 +355,7 @@ function init(params: InitParams = {}): Promise<void> {
355
355
  // 设置预览模式
356
356
  preview.value = isPreview
357
357
  try {
358
- getConfigByName('webConfig', (res) => {
358
+ getConfigByName('mapConfig', (res) => {
359
359
  const tianDiTuKey = res.tianDiTuKey || 'c16876b28898637c0a1a68b3fa410504'
360
360
  const amapKey = res.amapKey || '5ebabc4536d4b42e0dd1e20175cca8ab'
361
361
 
@@ -438,7 +438,7 @@ function init(params: InitParams = {}): Promise<void> {
438
438
  mapElement.style.cursor = 'grab'
439
439
  })
440
440
  }
441
- })
441
+ }, 'af-system')
442
442
  }
443
443
  catch (error) {
444
444
  console.error('地图初始化失败:', error)
@@ -14,7 +14,7 @@ const userId = computed(() => useRoute().query.userId?.toString() || '')
14
14
  :config-name="configName"
15
15
  :service-name="serviceName"
16
16
  :fix-query-form="{
17
- twb_f_userinfo_id: userId,
17
+ info_f_userinfo_id: userId,
18
18
  }"
19
19
  />
20
20
  </template>