1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-05 08:53:14 +00:00

Wiki mutiple chioce (#2559)

This commit is contained in:
杨顺强
2018-11-23 20:19:42 +08:00
committed by Daniel Pan
parent e163217419
commit 9a34b1d1cd
10 changed files with 610 additions and 263 deletions

View File

@@ -9,6 +9,7 @@ class Dirent {
this.type = json.type;
this.mtime = moment.unix(json.mtime).fromNow();
this.permission = json.permission;
this.isSelected = false;
if (json.type === 'file') {
this.size = Utils.bytesToSize(json.size);
this.starred = json.starred;