This commit is contained in:
钱冠学
2024-09-26 17:17:45 +08:00
parent a9344627a9
commit 6697187d33

View File

@@ -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({