diff --git a/App.vue b/App.vue index 86e1e71..e3fac87 100644 --- a/App.vue +++ b/App.vue @@ -21,6 +21,10 @@ uni.navigateTo({ url: '/pages/work/alarm/detailsAlarm?id=' + message.payload.id }); + }else if(message.payload.type === "patrol") { + uni.navigateTo({ + url: '/pages/work/patrol/detailsPatrol?id=' + message.payload.id + }); } }; plus.push.addEventListener('click', _handlePush);