|
@@ -276,7 +276,7 @@ export default {
|
|
|
},
|
|
|
});
|
|
|
}
|
|
|
-
|
|
|
+console.log(JSON.stringify(option))
|
|
|
chart.setOption(option);
|
|
|
},
|
|
|
},
|
|
@@ -301,6 +301,9 @@ export default {
|
|
|
this.initChart();
|
|
|
});
|
|
|
},
|
|
|
+ beforeUpdate(){
|
|
|
+ this.areaData = this.bardata.area;
|
|
|
+ },
|
|
|
watch: {
|
|
|
bardata(val) {
|
|
|
if (val.area && val.area.length < this.pageSize) {
|