|
@@ -360,23 +360,11 @@ export default {
|
|
|
this.isClickOff() //关注公众号,每天最多显示1次;当天学员关闭弹窗后,无需再显示
|
|
|
uni.removeStorageSync('goPath')
|
|
|
|
|
|
- // if (this.courseId || this.bankId) {
|
|
|
- // if (this.tabNum == 0) {
|
|
|
- // this.list1 = []
|
|
|
- // this.paramList[0].pageNum = 1
|
|
|
- // this.list1 = await this.getGoodsList(this.courseId, 0)
|
|
|
- // } else {
|
|
|
- // this.list2 = []
|
|
|
- // this.paramList[1].pageNum = 1
|
|
|
- // this.list2 = await this.getGoodsList(this.bankId, 1)
|
|
|
- // }
|
|
|
- // } else {
|
|
|
this.list1 = []
|
|
|
this.list2 = []
|
|
|
this.paramList[0].pageNum = 1
|
|
|
this.paramList[1].pageNum = 1
|
|
|
this.courseLists()
|
|
|
- // }
|
|
|
if (uni.getStorageSync('updateHome')){
|
|
|
this.init()
|
|
|
uni.removeStorageSync('updateHome'); //消费首页刷新事件
|
|
@@ -446,6 +434,7 @@ export default {
|
|
|
...mapActions(['getUserInfo','appCommonConfig']),
|
|
|
// 公众号登录
|
|
|
OfficialLogin() {
|
|
|
+ console.log('公众号登录');
|
|
|
this.$http({
|
|
|
url: '/app/common/gzh_login',
|
|
|
method: 'post',
|