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

修复已知问题

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