Skip to content

Commit

Permalink
fix: [H5] video组件mute={true}时,静音按钮状态显示为非静音 (#15878)
Browse files Browse the repository at this point in the history
Co-authored-by: kongxiaojun <kongxiaojun@58.com>
  • Loading branch information
kongxiaojun and kongxiaojun authored Jul 18, 2024
1 parent a1a11db commit 034a278
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/taro-components/src/components/video/video.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,7 @@ export class Video implements ComponentInterface {

componentWillLoad () {
this._enableDanmu = this.enableDanmu
this.isMute = this.muted
}

componentDidLoad () {
Expand Down

0 comments on commit 034a278

Please sign in to comment.