Commit 9828cdc0 authored by 郝聪敏's avatar 郝聪敏

还原onshow

parent 1461df43
......@@ -292,7 +292,6 @@
showAwardsModal: false,
awardsInfo: {},
isReceive: false,
autoplayActivity: false
},
......@@ -607,6 +606,8 @@
statusHeight && (this.userImgStyle = 'top:' + statusHeight + 'px');
},
async onShow() {
this.videoList = [];
if (!wx.getStorageSync('openId')) {
const { code } = await wepy.wx.login();
const userInfo = await login(code);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment