@ -192,6 +192,18 @@
thchMenus.value = store.thchMenus
})
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()) {
getCounts1()
getToDoCountsByUser1()