From 6697187d3396c5aa0c1b1a86e473667814c23ae9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=92=B1=E5=86=A0=E5=AD=A6?= <1109935898@qq.com> Date: Thu, 26 Sep 2024 17:17:45 +0800 Subject: [PATCH] eslint --- src/api/common.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/api/common.js b/src/api/common.js index 1152b681..ee3f33d4 100644 --- a/src/api/common.js +++ b/src/api/common.js @@ -138,7 +138,7 @@ export default class CommonApi { const fileName = `${startFileName}/${new Date().getTime()}_${Math.floor( Math.random() * 1000 )}_${file?.name?.replace(reg, '') ?? '' ?? `${new Date().getTime()}.png`}`;; - const callback = () => {} + const callBack = () => {} try { const result = await this.cosUpload(file, fileName, callBack); uploadDocumentFile({