fix(amis): 音频组件/操作进度条增加判空处理,避免报错

This commit is contained in:
wibetter 2023-11-17 15:04:31 +08:00
parent 1d6f55aabc
commit 9479707b59

View File

@ -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;
}