Skip to content

Commit b1a2302

Browse files
committed
fix: fix chart bug
1 parent 43dd61f commit b1a2302

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

packages/vue/src/huicharts/huicharts-bmap/src/baidu-map.vue

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,6 @@ export default {
2626
this.huiChartOption.tooltip = { show: false }
2727
}
2828
29-
if (!this.legendVisible) {
30-
this.huiChartOption.legend = { show: false }
31-
}
32-
3329
return
3430
}
3531

packages/vue/src/huicharts/huicharts-core/src/chart-core.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -362,7 +362,7 @@ export default {
362362
this.timer = null
363363
this.timer = setTimeout(() => {
364364
if (this.afterConfig) {
365-
huiChartOption = this.afterConfig(optichartOptionon)
365+
huiChartOption = this.afterConfig(huiChartOption)
366366
}
367367

368368
this.selfSetting(huiChartOption)

0 commit comments

Comments
 (0)