Commit da4fdbbd authored by Mac's avatar Mac

首页修改

parent 901d4818
......@@ -651,7 +651,8 @@ export default {
uni.setStorageSync("navs", res.data.navbar.navs);
}
uni.setStorageSync("basedata", res.data);
if(this.$refs.study[0].getData()){
if(Object.keys(this.$refs).length>0){//判断是否有没有
this.$refs.study[0].getData(); //调取最近学习组件的方法
}
......
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