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

.
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b32f8a-2b6a4.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b32f8a-2b6a4.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?