@nger/fk-upload 1.0.180 → 1.0.181

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.
@@ -224,8 +224,11 @@ let TaskManageController = class TaskManageController {
224
224
  downloadFile(url, back, ctx) {
225
225
  if (this.win) {
226
226
  this.win.webContents.downloadURL(url);
227
+ ctx.redirect(back);
228
+ }
229
+ else {
230
+ ctx.redirect(url);
227
231
  }
228
- ctx.redirect(back);
229
232
  }
230
233
  staticTaskManage(ctx) {
231
234
  try {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nger/fk-upload",
3
- "version": "1.0.180",
3
+ "version": "1.0.181",
4
4
  "description": "nger fk upload",
5
5
  "main": "dist/electon.js",
6
6
  "types": "dist/core.d.ts",