refactor: ♻️ 代码规范优化
This commit is contained in:
@@ -175,8 +175,9 @@ const handleUpload = async () => {
|
||||
invalidCount.value = result.invalidCount;
|
||||
validCount.value = result.validCount;
|
||||
}
|
||||
} catch (error) {
|
||||
ElMessage.error("上传失败");
|
||||
} catch (error: any) {
|
||||
console.error(error);
|
||||
ElMessage.error("上传失败:" + error);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user