注解代码放开

dev-login
姜玉琦 2023-08-19 21:49:28 +08:00
parent 481e36a3b3
commit c8f0ae592a
1 changed files with 8 additions and 8 deletions

View File

@ -527,14 +527,14 @@ export default {
return 0;
},
init() {
// this.$api.project.groupByProjectCategory(datas=>{
// this.projectCategory=datas;
// this.prjPrcessTotal=this.getPrjCateCount(0);
// let item=this.projectCategory.length>0?this.projectCategory[0]:null;
// this.prjPrcessData[0].value=item && item.length>0?item[0].cnt:0;
// this.prjPrcessData[1].value=item && item.length>1?item[1].cnt:0;
// this.elKey++;
// });
this.$api.project.groupByProjectCategory(datas=>{
this.projectCategory=datas;
this.prjPrcessTotal=this.getPrjCateCount(0);
let item=this.projectCategory.length>0?this.projectCategory[0]:null;
this.prjPrcessData[0].value=item && item.length>0?item[0].cnt:0;
this.prjPrcessData[1].value=item && item.length>1?item[1].cnt:0;
this.elKey++;
});
this.localStorage = JSON.parse(localStorage.getItem("data1"))