Echarts + vue static data is normal, the data obtained by Ajax can not be displayed?

enter the interface below:

clipboard.png

:


:
mounted


:

clipboard.png

load data in the created lifecycle

created:function(){
    //
    this.load_leftTop();
}

unencapsulated echarts does not support data driver, so after your data changes, you have to re-execute setOption with the new data to update


what you need is probably this
v-charts

.
Menu