Skip to content

Commit

Permalink
fix(图表): 修复地图下钻后,点击放大按钮无法加载地图问题 #11208
Browse files Browse the repository at this point in the history
  • Loading branch information
ulleo authored and xuwei-fit2cloud committed Dec 24, 2024
1 parent 871aada commit 2a71b55
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,11 @@ const calcData = async (view, callback) => {
dynamicAreaId.value = extra?.adcode + ''
scope = extra?.scope
// 地图
const map = parseJson(view.customAttr)?.map
if (map) {
let areaId = map.id
country.value = areaId.slice(0, 3)
}
if (!dynamicAreaId.value?.startsWith(country.value)) {
if (country.value === 'cus') {
dynamicAreaId.value = '156' + dynamicAreaId.value
Expand Down Expand Up @@ -486,7 +491,6 @@ const trackClick = trackAction => {
dimensionList: state.pointParam.data.dimensionList,
quotaList: quotaList
}
switch (trackAction) {
case 'pointClick':
emit('onPointClick', clickParams)
Expand Down

0 comments on commit 2a71b55

Please sign in to comment.