From ecad399599cc91ebd70e2ed45262ca1579cbf9d2 Mon Sep 17 00:00:00 2001 From: zhaoxiaoqiang <287285524@qq.com> Date: Fri, 01 Sep 2023 11:38:10 +0800 Subject: [PATCH] 订单管理接口调整 --- src/utils/excelDownLoadConfig.js | 5 +---- 1 files changed, 1 insertions(+), 4 deletions(-) diff --git a/src/utils/excelDownLoadConfig.js b/src/utils/excelDownLoadConfig.js index d8150c3..c5afdad 100644 --- a/src/utils/excelDownLoadConfig.js +++ b/src/utils/excelDownLoadConfig.js @@ -2,7 +2,7 @@ * @Author: 小明丶 * @Date: 2019-10-25 10:17:56 * @LastEditors: zhaoxiaoqiang 287285524@qq.com - * @LastEditTime: 2023-07-28 16:27:12 + * @LastEditTime: 2023-09-01 10:34:18 * @Description: */ /** @@ -62,7 +62,6 @@ downFile(blob, fileName); }, configDate2: function(res, parFilename, from) { - console.log(res); // let fileNamet =/\.{1}[A-Za-z]{1,}$/.exec(res.headers['content-disposition']); let blob = new Blob([res.data], {type: 'application/vnd.ms-excel'}); let fileName = parFilename?parFilename:""; @@ -71,8 +70,6 @@ if (window.navigator.msSaveOrOpenBlob) { navigator.msSaveBlob(blob, fileName); } else { - // let objectUrl = URL.createObjectURL(blob); - // window.location.href = objectUrl; let link = document.createElement('a'); link.href = window.URL.createObjectURL(blob); link.download = fileName; -- Gitblit v1.8.0