fix: audio uploader has cache issue

This commit is contained in:
jialin
2025-06-23 16:25:22 +08:00
parent fd3d7a6f29
commit 547f49a978
11 changed files with 35 additions and 61 deletions
+4 -6
View File
@@ -20,12 +20,10 @@ const UploadAudio: React.FC<UploadAudioProps> = (props) => {
return false;
};
const handleOnChange = React.useCallback(
(data: { file: any; fileList: any }) => {
props.onChange?.(data);
},
[]
);
const handleOnChange = (data: { file: any; fileList: any }) => {
props.onChange?.(data);
};
return (
<Tooltip
overlayInnerStyle={{ maxWidth: 290, width: 'max-content' }}