Skip to content

Commit 034a278

Browse files
kongxiaojunkongxiaojun
andauthored
fix: [H5] video组件mute={true}时,静音按钮状态显示为非静音 (#15878)
Co-authored-by: kongxiaojun <[email protected]>
1 parent a1a11db commit 034a278

File tree

1 file changed

+1
-0
lines changed
  • packages/taro-components/src/components/video

1 file changed

+1
-0
lines changed

packages/taro-components/src/components/video/video.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -188,6 +188,7 @@ export class Video implements ComponentInterface {
188188

189189
componentWillLoad () {
190190
this._enableDanmu = this.enableDanmu
191+
this.isMute = this.muted
191192
}
192193

193194
componentDidLoad () {

0 commit comments

Comments
 (0)