@newview/file-ui 1.1.40 → 1.1.41

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/file-ui.js CHANGED
@@ -381,7 +381,7 @@ let UploadFileInstance$1 = class UploadFileInstance extends BaseInstance {
381
381
  let temp1 = fileName.split(".");
382
382
  let ext = temp1[temp1.length - 1];
383
383
  let ossContentType = this.getOssContentType(fileName);
384
- let fileMark = this.utilities.getCurrentDate("YYYYMMDDHHmmss") + "." + ext;
384
+ let fileMark = this.utilities.getCurrentDate("YYYYMMDDHHmmss") + "_" + file.name;
385
385
  let ossClient = await new OSSFileApi().getOSSClient();
386
386
  const userInfo = this.storageInfo.getUser();
387
387
  const business = this.storageInfo.getCurrentBusiness();