@nger/fk-upload 1.0.155 → 1.0.156

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -103,12 +103,12 @@ let TaskManageController = class TaskManageController {
103
103
  key: -1
104
104
  }, {
105
105
  title: 'big',
106
- link: `/@nger/fk-upload/task-manage?${this.toUrl({ ...query, isBigFile: 0 })}`,
107
- key: 0
108
- }, {
109
- title: 'small',
110
106
  link: `/@nger/fk-upload/task-manage?${this.toUrl({ ...query, isBigFile: 1 })}`,
111
107
  key: 1
108
+ }, {
109
+ title: 'small',
110
+ link: `/@nger/fk-upload/task-manage?${this.toUrl({ ...query, isBigFile: 0 })}`,
111
+ key: 0
112
112
  }];
113
113
  const navs = [{
114
114
  title: 'all',
@@ -165,6 +165,9 @@ let TaskManageController = class TaskManageController {
165
165
  return react_1.default.createElement("tr", { key: key },
166
166
  react_1.default.createElement("td", null, task.filename),
167
167
  react_1.default.createElement("td", null, getStatusTitle(task.status)),
168
+ react_1.default.createElement("td", null,
169
+ Math.floor(task.size / (1024 * 1024 * 1024) * 100) / 100,
170
+ "G"),
168
171
  react_1.default.createElement("td", null, task.isBigFile ? 'big' : 'small'),
169
172
  react_1.default.createElement("td", { id: task.filename + '-upload-url' },
170
173
  react_1.default.createElement("a", { href: task.uploadUrl }, "download")),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nger/fk-upload",
3
- "version": "1.0.155",
3
+ "version": "1.0.156",
4
4
  "description": "",
5
5
  "main": "dist/core.js",
6
6
  "types": "dist/core.d.ts",