Browse Source

fix: 消息推送添加报修人确认

master
songguoqiang 7 months ago
parent
commit
ce4b4fab3a
  1. 10
      src/App.vue

10
src/App.vue

@ -67,12 +67,18 @@
})
}
plus.push.addEventListener("click", function (data) {
// 02
if(data.payload.status == 0 || data.payload.status == 2){
// 012
if(data.payload.status == 0 || data.payload.status == 1 || data.payload.status == 2){
uni.navigateTo({
url: (`/pages/repairOrder/detail?type=${data.payload.type}&number=${data.payload.number}`)
})
}
// // 1
// if(data.payload.status == 1){
// uni.navigateTo({
// url: (`/pages/repairOrder/detail?type=${data.payload.type}&number=${data.payload.number}`)
// })
// }
}, false);
uni.getPushClientId({
success: (res) => {

Loading…
Cancel
Save