更新 upload_excel.js

master
wangsiyuan 2023-12-28 23:31:52 +08:00
parent 6ce370db9c
commit fdd09d5e4d
1 changed files with 1 additions and 1 deletions

View File

@ -36,7 +36,7 @@ fileInput.addEventListener('change', function () {
}) })
.catch(error => { .catch(error => {
console.error('Upload failed:', error); console.error('Upload failed:', error);
alert("文件上传失败!"); // 弹出失败消息 layer.msg("文件上传失败!"); // 弹出失败消息
}); });
} else { } else {
alert("请上传Excel文件!"); alert("请上传Excel文件!");