|
|
@ -440,7 +440,7 @@ export default { |
|
|
|
window.onresize = myChart.resize |
|
|
|
myChart.showLoading() |
|
|
|
var option = {} |
|
|
|
console.log(JSON.stringify(this.countyData)) |
|
|
|
// console.log(JSON.stringify(this.countyData)) |
|
|
|
this.countyData = [ |
|
|
|
{ 'name': '北京市', 'value': '10', 'county': { 'title': '北京市', 'carCount': '0' } }, |
|
|
|
{ 'name': '甘肃省', 'value': '50', 'county': { 'title': '甘肃省', 'carCount': '0' } }, |
|
|
@ -497,7 +497,6 @@ export default { |
|
|
|
trigger: 'item', |
|
|
|
backgroundColor: '#242429cc', |
|
|
|
formatter: function (params) { |
|
|
|
console.log(params) |
|
|
|
if (params.componentType == "series") { |
|
|
|
return ( |
|
|
|
params.name + |
|
|
|