|
@@ -2356,8 +2356,10 @@ export default {
|
|
|
const x = new XMLHttpRequest();
|
|
|
x.open("GET", _url, true);
|
|
|
x.responseType = "blob";
|
|
|
+ const loading = this.openLoading();
|
|
|
_this.$message.success("文件下载中...")
|
|
|
x.onload = function (e) {
|
|
|
+ loading.close();
|
|
|
// const url = window.URL.createObjectURL(x.response);
|
|
|
// const a = document.createElement("a");
|
|
|
// a.href = url;
|