@@ -108,8 +108,6 @@
onLoad() {
// 检查更新
this.checkUpdate()
- // 判断是否有抽奖活动
- this.getLuckDraw()
// 查询购物车列表
this.getCartList()
// 刷新购物车列表
@@ -144,6 +142,8 @@
console.log(res)
},
onShow() {
+ // 判断是否有抽奖活动
+ this.getLuckDraw()
// 获取订单状态数据字典
// this.getCodeList('RUBBISH_TYPE','vuex_rubbishType')
// 获取顶部轮播图