ls-pro-common 3.0.82 → 3.0.83

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.
@@ -127,6 +127,7 @@ var exportProcess = function exportProcess(apiResult) {
127
127
  } else {
128
128
  //导出成功
129
129
  if (status === 30 && downloadUrl) {
130
+ loading(100);
130
131
  downloadFile(downloadUrl);
131
132
  } else {
132
133
  //导出失败
@@ -135,7 +136,9 @@ var exportProcess = function exportProcess(apiResult) {
135
136
  type: 'exportError'
136
137
  });
137
138
  }
138
- _notification.close(key);
139
+ sleep(1.5).then(function () {
140
+ _notification.close(key);
141
+ });
139
142
  }
140
143
  }
141
144
  }).catch(function () {
@@ -127,6 +127,7 @@ var exportProcess = function exportProcess(apiResult) {
127
127
  } else {
128
128
  //导出成功
129
129
  if (status === 30 && downloadUrl) {
130
+ loading(100);
130
131
  downloadFile(downloadUrl);
131
132
  } else {
132
133
  //导出失败
@@ -135,7 +136,9 @@ var exportProcess = function exportProcess(apiResult) {
135
136
  type: 'exportError'
136
137
  });
137
138
  }
138
- _notification.close(key);
139
+ sleep(1.5).then(function () {
140
+ _notification.close(key);
141
+ });
139
142
  }
140
143
  }
141
144
  }).catch(function () {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ls-pro-common",
3
- "version": "3.0.82",
3
+ "version": "3.0.83",
4
4
  "description": "ls-pro-common",
5
5
  "license": "MIT",
6
6
  "sideEffects": [