CN-322 fix: 修复traffic summary右下角饼图legend点击事件失效问题

This commit is contained in:
chenjinsong
2022-04-07 18:10:20 +08:00
parent 0bbf765884
commit b2009c94cb
2 changed files with 2 additions and 2 deletions

View File

@@ -9,7 +9,7 @@
"analyz": "cross-env NODE_ENV=production npm_config_report=true npm run build"
},
"dependencies": {
"@amcharts/amcharts4": "^4.10.20",
"@amcharts/amcharts4": "^4.10.24",
"@amcharts/amcharts4-geodata": "^4.1.20",
"axios": "^0.21.1",
"babel-plugin-lodash": "^3.3.4",

View File

@@ -160,7 +160,7 @@ export default {
const chart = am4Core.create(id, am4Maps.MapChart)
chart.geodata = getGeoData(storageKey.iso36112WorldLow)
chart.projection = new am4Maps.projections.Miller()
this.myChart = chart
this.myChart = shallowRef(chart)
this.polygonSeries = this.polygonSeriesFactory()
if (this.isMapPoint) {