Issues #171: add filter sort done.

This commit is contained in:
chiayin
2023-11-02 18:00:01 +08:00
parent 0be3bcfdd0
commit cbb1f7c446
2 changed files with 3 additions and 1 deletions

View File

@@ -91,6 +91,8 @@ export default defineStore('filesStore', {
o.parentLog = o.log.name;
o.fileType = "Filter";
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;
});