Issues #171: done.

This commit is contained in:
chiayin
2023-11-01 11:23:52 +08:00
parent 4089b1c7b8
commit 89f0ef9a5a
2 changed files with 4 additions and 2 deletions

View File

@@ -65,6 +65,8 @@ export default defineStore('filesStore', {
o.parentLog = o.name;
o.fileType = "Log";
o.ownerName = o.owner.name;
o.updated_base = o.updated_at;
o.accessed_base = o.accessed_at;
o.updated_at = moment(o.updated_at).utcOffset('+08:00').format('YYYY-MM-DD HH:mm');
o.accessed_at = o.accessed_at ? moment(o.accessed_at).utcOffset('+08:00').format('YYYY-MM-DD HH:mm') : null;
return this.allEventLog