Browse Source

删除错误的暂停调用

master
kola-web 2 weeks ago
parent
commit
0fa5ef9a94
  1. 2
      src/pages/article/index.ts

2
src/pages/article/index.ts

@ -133,7 +133,6 @@ Page({
}); });
this.getDetail(); this.getDetail();
this.onClose(); this.onClose();
this.handlePause();
}, },
onClose() { onClose() {
const chapterTip = !wx.getStorageSync('chapterTip'); const chapterTip = !wx.getStorageSync('chapterTip');
@ -191,6 +190,7 @@ Page({
} else { } else {
this.backgroundAudioManagerListener(); this.backgroundAudioManagerListener();
this.setData({ this.setData({
play: false,
progress: 0, progress: 0,
currentTime: 0, currentTime: 0,
}); });

Loading…
Cancel
Save