Browse Source

REPORT-75736 fix:显示时间改为上传时间

feature/x
Aries.lsy 2 years ago
parent
commit
af840451ad
  1. 2
      src/modules/components/file_upload/file_upload.ts

2
src/modules/components/file_upload/file_upload.ts

@ -302,7 +302,7 @@ export class FileUpload extends BI.Widget {
this.textEditor.setValue(info.fileName); this.textEditor.setValue(info.fileName);
this.fileName.setText(info.fileName); this.fileName.setText(info.fileName);
this.fileSize.setText(Dec.Utils.getByteWidthUnit(info.size)); this.fileSize.setText(Dec.Utils.getByteWidthUnit(info.size));
this.fileModified.setText(BI.getDate(info.lastModified).print("%Y-%X-%d %H:%M:%S")) this.fileModified.setText(BI.getDate().print("%Y-%X-%d %H:%M:%S"))
} }
public clearInfo() { public clearInfo() {

Loading…
Cancel
Save