提交 5f20f8e0 编写于 作者: DCloud_JSON's avatar DCloud_JSON 提交者: study夏羽

修复已知问题

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