Commit ee8c2bd2 authored by 刘文虎's avatar 刘文虎

导出:请求报错导致路径为空

parent fad7aae3
Pipeline #3796 canceled with stages
This diff is collapsed.
This diff is collapsed.
......@@ -156,7 +156,9 @@ export default {
res = await exportBill(params);
}
}
this.saveFile(res);
if(res) {
this.saveFile(res);
}
} catch (e) {
this.showToast('下载错误');
this.stopLoading();
......
......@@ -197,7 +197,9 @@ export default {
} else {
res = await exportBill(params);
}
this.saveFile(res);
if(res) {
this.saveFile(res);
}
} catch (e) {
this.showToast('下载错误');
this.stopLoading();
......
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