Commit 446dfbef by zhangxw

自测修改

1 parent 98ad6c54
......@@ -33,16 +33,10 @@ Page({
* 生命周期函数--监听页面加载
*/
onLoad(options) {
this.getStaticData()
this.getResidueTime()
if (options?.tabIndex) {
this.setData({
tabIndex: Number(options.tabIndex)
}, () => {
this.getList()
})
} else {
this.getList()
}
},
......@@ -57,7 +51,9 @@ Page({
* 生命周期函数--监听页面显示
*/
onShow() {
this.getStaticData()
this.getResidueTime()
this.getList()
},
// 获取我的课程剩余开单时间
......
......@@ -78,8 +78,6 @@ Page({
onLoad(options) {
// 判断是否有考试
this.getExamInfo()
this.getStaticData()
this.getList()
},
/**
......@@ -100,6 +98,8 @@ Page({
}
// 判断是否展示我的任务入口
this.getShowMyTaskMenu()
this.getStaticData()
this.getList()
},
async getShowMyTaskMenu() {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!