Files: change file's icon come from Google front icon.

This commit is contained in:
chiayin
2023-04-28 09:27:28 +08:00
parent ab8708a597
commit e142787832
3 changed files with 13 additions and 8 deletions

View File

@@ -67,6 +67,7 @@ export default defineStore('filesStore', {
this.allEventLog = response.data;
this.allEventLog.map(o => {
o.icon = 'work_history';
o.parentLog = "-";
o.fileType = "Log";
o.ownerName = o.owner.name;
@@ -99,6 +100,7 @@ export default defineStore('filesStore', {
this.allFilter = response.data;
this.allFilter.map(o => {
o.icon = 'tornado';
o.fileType = "Filter";
o.ownerName = o.owner.name;
o.updated_at = moment(o.updated_at).utcOffset('+08:00').format('YYYY-MM-DD HH:MM');
@@ -118,5 +120,7 @@ export default defineStore('filesStore', {
})
};
},
// fetchRule(){o.icon = local_police}
// fetchDesign(){o.icon = shape_line}
},
})