巡检跳转
This commit is contained in:
parent
9c3e5c0d01
commit
656efef60d
4
App.vue
4
App.vue
@ -21,6 +21,10 @@
|
|||||||
uni.navigateTo({
|
uni.navigateTo({
|
||||||
url: '/pages/work/alarm/detailsAlarm?id=' + message.payload.id
|
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);
|
plus.push.addEventListener('click', _handlePush);
|
||||||
|
Loading…
Reference in New Issue
Block a user