Commit 26e91263 authored by “yiyousong”'s avatar “yiyousong”

pref:修改导出

parent 2d197f3d
...@@ -1151,7 +1151,7 @@ export default { ...@@ -1151,7 +1151,7 @@ export default {
this.$app.loading = true; this.$app.loading = true;
this.$app.percentage = parseInt((dataList.length / total) * 100); this.$app.percentage = parseInt((dataList.length / total) * 100);
if (dataList.length >= total || data.data.length == 0) { if (dataList.length >= total || data.data.length == 0) {
callback(dataList); if (callback) callback(dataList);
this.$app.loading = false; this.$app.loading = false;
this.$app.percentage = 1; this.$app.percentage = 1;
return; return;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment