Commit cf364b3b authored by Mac's avatar Mac

修改

parent da4fdbbd
......@@ -652,10 +652,9 @@ export default {
}
uni.setStorageSync("basedata", res.data);
if(Object.keys(this.$refs).length>0){//判断是否有没有
this.$refs.study[0].getData(); //调取最近学习组件的方法
if(Object.keys(this.$refs).length>0 && this.$refs.study){//判断
this.$refs.study[0].getData(); //调取最近学习组件的方法
}
if(this.myPageData.home_pages.navs.length>0&&this.myPageData.home_pages.navs[0].template.data.length>0){
this.myPageData.home_pages.navs[0].template.data.forEach(x=>{
if(x.id=='search'){
......
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