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
|
@@ -355,7 +355,7 @@ function init(params: InitParams = {}): Promise<void> {
|
|
|
355
355
|
// 设置预览模式
|
|
356
356
|
preview.value = isPreview
|
|
357
357
|
try {
|
|
358
|
-
getConfigByName('
|
|
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)
|