疯狂的狮子li
2023-01-30 f93ccd68e914c8d9c83478bfa3f5ccf7bc48a44f
ruoyi-ui/src/plugins/download.js
@@ -21,7 +21,7 @@
      const isLogin = await blobValidate(res.data);
      if (isLogin) {
        const blob = new Blob([res.data], { type: 'application/octet-stream' })
        this.saveAs(blob, decodeURI(res.headers['download-filename']))
        this.saveAs(blob, decodeURIComponent(res.headers['download-filename']))
      } else {
        this.printErrMsg(res.data);
      }