Skip to content

Commit 881f365

Browse files
committed
fix: 修复音频停止后动画未停止
1 parent ea22ae7 commit 881f365

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

miniprogram/pages/about/about.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,11 @@ Page({
8585
playing: false
8686
});
8787
});
88+
audioManager.onEnded(() => {
89+
this.setData({
90+
playing: false
91+
});
92+
});
8893
},
8994

9095
toWebview (e) {

0 commit comments

Comments
 (0)