Commit d1d23b0c by kyle

学习明细如果没有不再调用接口

parent aec93715
...@@ -167,7 +167,9 @@ ...@@ -167,7 +167,9 @@
} }
this.chartData.categories = categories; this.chartData.categories = categories;
this.chartData.series = [{name:'月',data:data}]; this.chartData.series = [{name:'月',data:data}];
this.userStudyTime(); if(this.studyInfos){
this.userStudyTime();
}
} }
}) })
}, },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment