修改图表显示
This commit is contained in:
parent
24f4dd7dec
commit
9e6571b47d
|
@ -140,11 +140,15 @@ export default {
|
|||
});
|
||||
},
|
||||
getTables() {
|
||||
this.totalNumberCataloguesData =[];
|
||||
let t = this;
|
||||
t.totalNumberCataloguesData =[];
|
||||
getAction("/online/getOnlineLinkCountData",{}).then((res)=>{
|
||||
if(res.success){
|
||||
this.totalNumberCataloguesData = res.result
|
||||
this.gettotalNumberCatalogues();
|
||||
Object.keys(res.result).forEach(function(key){
|
||||
console.log(res.result[key])
|
||||
t.totalNumberCataloguesData.push([key, parseInt(res.result[key])])
|
||||
});
|
||||
t.gettotalNumberCatalogues();
|
||||
}
|
||||
});
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue
Block a user