From c5ee0e9d22473f3fd96f442724058dd297fec97c Mon Sep 17 00:00:00 2001 From: 闫增涛 <1829501689@qq.com> Date: 星期一, 23 十二月 2024 10:20:38 +0800 Subject: [PATCH] 购物车内题库显示问题 --- packageBookService/pages/bookServices/examination/questionList/index.js | 18 ++++++++---------- 1 files changed, 8 insertions(+), 10 deletions(-) diff --git a/packageBookService/pages/bookServices/examination/questionList/index.js b/packageBookService/pages/bookServices/examination/questionList/index.js index 0a00adc..1669dde 100644 --- a/packageBookService/pages/bookServices/examination/questionList/index.js +++ b/packageBookService/pages/bookServices/examination/questionList/index.js @@ -34,17 +34,15 @@ type: Boolean, } }, - observers: { - 'questionList': function (newValue) { - console.log(newValue); + observers: {}, + detached() { + if (innerAudioContext) { + try { + innerAudioContext.stop(); + innerAudioContext.destroy(); + } catch (error) {} } - }, - created() { - // console.log('缁勪欢浼犲弬', this.properties); - }, - ready() { - innerAudioContext.stop(); - innerAudioContext.destroy(); + }, /** * 缁勪欢鐨勫垵濮嬫暟鎹� -- Gitblit v1.9.1