Commit 08ce8782 authored by Facius's avatar Facius

chore: 删除打印

parent 4fc8faa9
Pipeline #3457 canceled with stages
...@@ -80,12 +80,10 @@ ...@@ -80,12 +80,10 @@
//监听push推送通知 //监听push推送通知
uni.onPushMessage((res)=>{ uni.onPushMessage((res)=>{
if (res.type == 'receive') { if (res.type == 'receive') {
console.log('-------receive----------', res);
if(res.type=='receive' || uni.getSystemInfoSync().platform != "ios"){ //如果type!='receive'是自己本地插件的push消息栏,“拦截”避免死循环',安卓系统没有这个问题 if(res.type=='receive' || uni.getSystemInfoSync().platform != "ios"){ //如果type!='receive'是自己本地插件的push消息栏,“拦截”避免死循环',安卓系统没有这个问题
uni.createPushMessage(res.data); uni.createPushMessage(res.data);
} }
} else if (res.type == 'click'){ } else if (res.type == 'click'){
console.log('-------click----------',res.data)
setTimeout(()=> { setTimeout(()=> {
uni.switchTab({ uni.switchTab({
url: '/pages/index/schedule/schedule' 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