推送修复
This commit is contained in:
parent
eac42fd42c
commit
5073bdd82e
@ -256,7 +256,7 @@
|
|||||||
this.showToask();
|
this.showToask();
|
||||||
// this.initOaHomeDada();
|
// this.initOaHomeDada();
|
||||||
this.getOrderList();
|
this.getOrderList();
|
||||||
this.test()
|
this.noticeFn()
|
||||||
|
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
@ -278,14 +278,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
test() {
|
// 通知
|
||||||
// const audioContext = uni.createInnerAudioContext()
|
noticeFn() {
|
||||||
// // // 设置音频文件地址
|
|
||||||
// audioContext.src = '/static/mp3/order.mp3'
|
|
||||||
// audioContext.play()
|
|
||||||
// console.log("sdsdsd")
|
|
||||||
const audioContext = uni.createInnerAudioContext()
|
const audioContext = uni.createInnerAudioContext()
|
||||||
// 设置音频文件地址
|
|
||||||
audioContext.src = '/static/mp3/order.mp3'
|
audioContext.src = '/static/mp3/order.mp3'
|
||||||
jpushModule.addNotificationListener(res => {
|
jpushModule.addNotificationListener(res => {
|
||||||
if (res.notificationEventType == 'notificationOpened') return
|
if (res.notificationEventType == 'notificationOpened') return
|
||||||
|
Loading…
x
Reference in New Issue
Block a user