feat: 添加 eslint-plugin-unicorn 依赖,更新 ESLint 配置以支持新规则
This commit is contained in:
@ -57,8 +57,8 @@ const onUploader = (event: FileUploadUploaderEvent) => {
|
||||
item.url = res.data.url;
|
||||
}
|
||||
})
|
||||
.catch((err) => {
|
||||
console.error(`err :>> `, err);
|
||||
.catch((error) => {
|
||||
console.error(`err :>> `, error);
|
||||
const item = fileUploadRef.value!.uploadedFiles.find((f) => f.rawFile === file);
|
||||
if (item) {
|
||||
item.status = 'failed';
|
||||
|
Reference in New Issue
Block a user