提交 e5cf4684 编写于 作者: DCloud_JSON's avatar DCloud_JSON

修复已知问题

上级 5e55a8d3
...@@ -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.
先完成此消息的编辑!
想要评论请 注册