疯狂的狮子li
2022-09-13 adfae03953e5929f2924d4b9e30ecb7fe15faa37
ruoyi-ui/src/plugins/download.js
@@ -38,7 +38,10 @@
      method: 'get',
      url: url,
      responseType: 'blob',
      headers: { 'Authorization': 'Bearer ' + getToken() }
      headers: {
        'Authorization': 'Bearer ' + getToken(),
        'datasource': localStorage.getItem("dataName")
      }
    }).then(async (res) => {
      const isLogin = await blobValidate(res.data);
      if (isLogin) {