Commit 8fcc317f by 胡悦

fix(studyCenter): 在切换标签时调用对应统计方法

修复在myCourse和myExam页面切换标签时未调用统计方法的问题,确保数据及时更新
同时更新manifest.json版本号至2.19.0
1 parent 2afa8e4f
......@@ -2,8 +2,8 @@
"name" : "展业助手",
"appid" : "__UNI__D3BD3DF",
"description" : "",
"versionName" : "2.18.1",
"versionCode" : 2181,
"versionName" : "2.19.0",
"versionCode" : 2190,
"transformPx" : false,
"sassImplementationName" : "node-sass",
/* 5+App特有相关 */
......@@ -127,4 +127,4 @@
"https" : false
}
}
}
\ No newline at end of file
}
......@@ -80,6 +80,7 @@ export default {
},
switchTab(index) {
this.currentTab = index
this.getMyCourseTabCount()
},
// tab 页面数量
async getMyCourseTabCount() {
......
......@@ -75,6 +75,7 @@ export default {
},
switchTab(index) {
this.currentTab = index
this.getExamStatistics()
},
async getExamStatistics() {
const res = await uni.$api.commonApi.getExamStatistics({
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!