Browse Source

fix: 提示

master
zhang_li 8 months ago
parent
commit
f324ea60b9
  1. 12
      src/pages/index.vue

12
src/pages/index.vue

@ -192,6 +192,18 @@
thchMenus.value = store.thchMenus thchMenus.value = store.thchMenus
}) })
onShow(async () => { onShow(async () => {
uni.getPushClientId({
success: (res) => {
console.log(res);
console.log(res.cid);
},
fail(err) {
console.log(err)
}
})
uni.onPushMessage((res)=>{
console.log(res)
})
if (getAccessToken()) { if (getAccessToken()) {
getCounts1() getCounts1()
getToDoCountsByUser1() getToDoCountsByUser1()

Loading…
Cancel
Save