mirror of
https://gitee.com/baidu/amis.git
synced 2024-11-29 18:48:45 +08:00
fix(amis): 音频组件/操作进度条增加判空处理,避免报错
This commit is contained in:
parent
1d6f55aabc
commit
9479707b59
@ -266,6 +266,9 @@ export class Audio extends React.Component<AudioProps, AudioState> {
|
||||
|
||||
@autobind
|
||||
onSeekMouseUp(e: any) {
|
||||
if (!this.state.src) {
|
||||
return;
|
||||
}
|
||||
if (!this.state.seeking) {
|
||||
return;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user