提交 8b70d26b 编写于 作者: DCloud_JSON's avatar DCloud_JSON 提交者: study夏羽

修复已知问题

上级 3140e005
...@@ -52,13 +52,12 @@ ...@@ -52,13 +52,12 @@
return { return {
gridList: [], gridList: [],
current: 0, current: 0,
swiperDotIndex: 0 swiperDotIndex: 0,
hasLogin:false
} }
}, },
computed: { onShow() {
hasLogin(){ this.hasLogin = uniCloud.getCurrentUserInfo().tokenExpired > Date.now()
return uniCloud.getCurrentUserInfo().tokenExpired > Date.now()
}
}, },
onLoad() { onLoad() {
let gridList = [] let gridList = []
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册