master
xy 3 years ago
parent 45825debd7
commit ef9d9e6d78

@ -1,4 +1,4 @@
<template>
<div :class="className" :style="{height:height,width:width}" />
@ -28,7 +28,7 @@
default: '500px'
},
chartData: {
type: Object
type: [Object,Array]
}
},
data() {
@ -81,6 +81,7 @@
tooltip: {
trigger: "item",
formatter: function(val) {
if(statusArr[val.data?.itemStyle?.status])
return "省份:" + val.name + "<br>当前进度: " + statusArr[val.data.itemStyle.status]; //
},
},
@ -98,7 +99,7 @@
},
},
series: [{
type: "map",
type: "map",
zoom:1.15,
map: "CHINA", //,
//
@ -134,5 +135,5 @@
}
}
}
</script>
}
</script>

Loading…
Cancel
Save