eslint
This commit is contained in:
@@ -138,7 +138,7 @@ export default class CommonApi {
|
|||||||
const fileName = `${startFileName}/${new Date().getTime()}_${Math.floor(
|
const fileName = `${startFileName}/${new Date().getTime()}_${Math.floor(
|
||||||
Math.random() * 1000
|
Math.random() * 1000
|
||||||
)}_${file?.name?.replace(reg, '') ?? '' ?? `${new Date().getTime()}.png`}`;;
|
)}_${file?.name?.replace(reg, '') ?? '' ?? `${new Date().getTime()}.png`}`;;
|
||||||
const callback = () => {}
|
const callBack = () => {}
|
||||||
try {
|
try {
|
||||||
const result = await this.cosUpload(file, fileName, callBack);
|
const result = await this.cosUpload(file, fileName, callBack);
|
||||||
uploadDocumentFile({
|
uploadDocumentFile({
|
||||||
|
|||||||
Reference in New Issue
Block a user