疯狂的狮子Li
2022-11-07 a63abbf268e4c0a60344f63b5cba828a1347e178
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) {