zhaojunkai

音乐详情-切换页面后释放音乐

... ... @@ -47,6 +47,9 @@ export struct AudioDetailComponent {
this.duration = totalSeconds
}
}
onPageHide() {
this.playerController?.pause();
}
build() {
Row() {
Column() {
... ...