Commit ec8c7eed58c68c193e29b7e6c8353c30c7b09d86

Authored by pengye
1 parent 37256f86

邀请函语音播报苹果手机出现重复播放问题处理

@@ -688,7 +688,7 @@ Page({ @@ -688,7 +688,7 @@ Page({
688 */ 688 */
689 onHide() { 689 onHide() {
690 clearInterval(this.timers) 690 clearInterval(this.timers)
691 - this.audioCtx.pause() //暂停 691 + this.audioCtx.destroy();// 释放音频资源
692 }, 692 },
693 693
694 /** 694 /**
@@ -653,7 +653,7 @@ Page({ @@ -653,7 +653,7 @@ Page({
653 */ 653 */
654 onHide() { 654 onHide() {
655 clearInterval(this.timers) 655 clearInterval(this.timers)
656 - this.audioCtx.pause() //暂停 656 + this.audioCtx.destroy();// 释放音频资源
657 }, 657 },
658 658
659 /** 659 /**
@@ -653,7 +653,7 @@ Page({ @@ -653,7 +653,7 @@ Page({
653 */ 653 */
654 onHide() { 654 onHide() {
655 clearInterval(this.timers) 655 clearInterval(this.timers)
656 - this.audioCtx.pause() //暂停 656 + this.audioCtx.destroy();// 释放音频资源
657 }, 657 },
658 658
659 /** 659 /**
@@ -652,7 +652,7 @@ Page({ @@ -652,7 +652,7 @@ Page({
652 */ 652 */
653 onHide() { 653 onHide() {
654 clearInterval(this.timers) 654 clearInterval(this.timers)
655 - this.audioCtx.pause() //暂停 655 + this.audioCtx.destroy();// 释放音频资源
656 }, 656 },
657 657
658 /** 658 /**
@@ -601,7 +601,7 @@ Page({ @@ -601,7 +601,7 @@ Page({
601 */ 601 */
602 onHide() { 602 onHide() {
603 clearInterval(this.timers) 603 clearInterval(this.timers)
604 - this.audioCtx.pause() //暂停 604 + this.audioCtx.destroy();// 释放音频资源
605 }, 605 },
606 606
607 /** 607 /**
@@ -646,7 +646,7 @@ Page({ @@ -646,7 +646,7 @@ Page({
646 */ 646 */
647 onHide() { 647 onHide() {
648 clearInterval(this.timers) 648 clearInterval(this.timers)
649 - this.audioCtx.pause() //暂停 649 + this.audioCtx.destroy();// 释放音频资源
650 }, 650 },
651 651
652 /** 652 /**
@@ -645,7 +645,7 @@ Page({ @@ -645,7 +645,7 @@ Page({
645 */ 645 */
646 onHide() { 646 onHide() {
647 clearInterval(this.timers) 647 clearInterval(this.timers)
648 - this.audioCtx.pause() //暂停 648 + this.audioCtx.destroy();// 释放音频资源
649 }, 649 },
650 650
651 /** 651 /**