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

还原onshow

parent 1461df43
...@@ -292,7 +292,6 @@ ...@@ -292,7 +292,6 @@
showAwardsModal: false, showAwardsModal: false,
awardsInfo: {}, awardsInfo: {},
isReceive: false, isReceive: false,
autoplayActivity: false autoplayActivity: false
}, },
...@@ -607,6 +606,8 @@ ...@@ -607,6 +606,8 @@
statusHeight && (this.userImgStyle = 'top:' + statusHeight + 'px'); statusHeight && (this.userImgStyle = 'top:' + statusHeight + 'px');
}, },
async onShow() { async onShow() {
this.videoList = [];
if (!wx.getStorageSync('openId')) { if (!wx.getStorageSync('openId')) {
const { code } = await wepy.wx.login(); const { code } = await wepy.wx.login();
const userInfo = await login(code); 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