Merge branch 'master' of https://gitee.com/wjl2008_admin/medicine_app
This commit is contained in:
@@ -256,7 +256,10 @@
|
||||
onShow() {
|
||||
// 隐藏原生的tabbar
|
||||
uni.hideTabBar();
|
||||
|
||||
// #ifdef APP-PLUS
|
||||
plus.screen.unlockOrientation();
|
||||
plus.screen.lockOrientation("portrait-primary");
|
||||
// #endif
|
||||
},
|
||||
onReachBottom() {
|
||||
console.log('触底');
|
||||
|
||||
@@ -204,8 +204,10 @@
|
||||
onShow() {
|
||||
// 隐藏原生的tabbar
|
||||
uni.hideTabBar();
|
||||
// #ifdef APP-PLUS
|
||||
plus.screen.unlockOrientation();
|
||||
plus.screen.lockOrientation("portrait-primary");
|
||||
// #endif
|
||||
this.getData(this.courseId)
|
||||
},
|
||||
onReachBottom() {
|
||||
@@ -646,6 +648,10 @@
|
||||
|
||||
}).catch(e => {
|
||||
console.log(e, '获取目录数据报错')
|
||||
uni.showToast({
|
||||
title:"获取数据失败",
|
||||
icon:'error'
|
||||
})
|
||||
});
|
||||
|
||||
},
|
||||
@@ -887,6 +893,10 @@
|
||||
|
||||
}).catch(e => {
|
||||
console.log(e, '获取章节列表数据报错')
|
||||
uni.showToast({
|
||||
title:"获取数据失败",
|
||||
icon:'error'
|
||||
})
|
||||
});
|
||||
},
|
||||
// 跳转
|
||||
|
||||
Reference in New Issue
Block a user