diff --git a/dist.zip b/dist.zip new file mode 100644 index 0000000..d1efc61 Binary files /dev/null and b/dist.zip differ diff --git a/src/pages/EditMeeting.jsx b/src/pages/EditMeeting.jsx index fed7fd0..fa37f68 100644 --- a/src/pages/EditMeeting.jsx +++ b/src/pages/EditMeeting.jsx @@ -504,6 +504,7 @@ const EditMeeting = ({ user }) => { onClick={() => { setShowUploadArea(false); setAudioFile(null); + setError(''); // Reset file input const fileInput = document.getElementById('audio-file'); if (fileInput) fileInput.value = ''; @@ -550,6 +551,36 @@ const EditMeeting = ({ user }) => { )} )} + + {/* Error message for audio upload - shown right after upload area */} + {error && showUploadArea && ( +
{error}
+ )} + + {/* Upload Confirmation Modal - moved here to be right after upload area */} + {showUploadConfirm && ( +
setShowUploadConfirm(false)}> +
e.stopPropagation()}> +

确认重新上传

+

重传音频文件将清空已有的会话转录,是否继续?

+
+ + +
+
+
+ )} @@ -604,7 +635,7 @@ const EditMeeting = ({ user }) => { )} - {error && ( + {error && !showUploadArea && (
{error}
)} @@ -624,31 +655,6 @@ const EditMeeting = ({ user }) => { - - {/* Upload Confirmation Modal */} - {showUploadConfirm && ( -
setShowUploadConfirm(false)}> -
e.stopPropagation()}> -

确认重新上传

-

重传音频文件将清空已有的会话转录,是否继续?

-
- - -
-
-
- )} ); };