From 82f1f5d0cf1b51a5d81915e842e01760f404fa74 Mon Sep 17 00:00:00 2001 From: 疯狂的狮子li <15040126243@163.com> Date: 星期三, 20 十月 2021 13:07:16 +0800 Subject: [PATCH] update 优化xxl-job-admin相关pr代码 增加格式化日志输出与docker镜像 --- ruoyi-ui/src/plugins/download.js | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ruoyi-ui/src/plugins/download.js b/ruoyi-ui/src/plugins/download.js index 248ed01..50f664a 100644 --- a/ruoyi-ui/src/plugins/download.js +++ b/ruoyi-ui/src/plugins/download.js @@ -40,7 +40,7 @@ this.saveAs(blob, decodeURI(res.headers['download-filename'])) }) }, - oss(ossId, name) { + oss(ossId) { var url = baseURL + '/system/oss/download/' + ossId axios({ method: 'get', @@ -49,7 +49,7 @@ headers: { 'Authorization': 'Bearer ' + getToken() } }).then(res => { const blob = new Blob([res.data], { type: 'application/octet-stream' }) - this.saveAs(blob, name) + this.saveAs(blob, decodeURI(res.headers['download-filename'])) }) }, zip(url, name) { -- Gitblit v1.9.3