|
@@ -11526,8 +11526,12 @@ export default {
|
|
|
const x = new XMLHttpRequest();
|
|
|
x.open("GET", _url, true);
|
|
|
x.responseType = "blob";
|
|
|
- const loading = this.openLoading();
|
|
|
- _this.$message.success("文件下载中...");
|
|
|
+ const loading = _this.$loading.service({
|
|
|
+ background: "rgba(255, 255, 255, 0.7)",
|
|
|
+ target: document.body,
|
|
|
+ text:'文件加载中...'
|
|
|
+ });
|
|
|
+ // _this.$message.success("文件下载中...");
|
|
|
x.onload = function (e) {
|
|
|
loading.close();
|
|
|
// const url = window.URL.createObjectURL(x.response);
|