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

Loading…
Cancel
Save