Commit 4678241d authored by 刘文虎's avatar 刘文虎
parents 51b0d1fb 08ce8782
Pipeline #3459 canceled with stages
......@@ -80,12 +80,10 @@
//监听push推送通知
uni.onPushMessage((res)=>{
if (res.type == 'receive') {
console.log('-------receive----------', res);
if(res.type=='receive' || uni.getSystemInfoSync().platform != "ios"){ //如果type!='receive'是自己本地插件的push消息栏,“拦截”避免死循环',安卓系统没有这个问题
uni.createPushMessage(res.data);
}
} else if (res.type == 'click'){
console.log('-------click----------',res.data)
setTimeout(()=> {
uni.switchTab({
url: '/pages/index/schedule/schedule'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment