|
|
@@ -303,19 +303,12 @@ |
|
|
|
this.TimeUpdate() |
|
|
|
this.init(info) |
|
|
|
}, |
|
|
|
// 在组件实例被从页面节点树移除时执行 |
|
|
|
async destroyed() { |
|
|
|
//暂停 |
|
|
|
// this.innerAudioContext.pause() |
|
|
|
// 销毁 |
|
|
|
await this.innerAudioContext.destroy(); |
|
|
|
}, |
|
|
|
// 销毁实例 |
|
|
|
async onHide() { |
|
|
|
onHide() { |
|
|
|
//暂停 |
|
|
|
// this.innerAudioContext.pause() |
|
|
|
this.innerAudioContext.pause() |
|
|
|
// 销毁 |
|
|
|
await this.innerAudioContext.destroy(); |
|
|
|
this.innerAudioContext.destroy(); |
|
|
|
}, |
|
|
|
methods: { |
|
|
|
effectiveAdd(){ |
|
|
|