fix
pyt
2025-05-07 6884180edd4961ed293a84e7caaa45537350c9f5
src/utils/utils.js
@@ -25,14 +25,12 @@
// 导出
export const exportExcell = (name, params, url) => {
  fetch(apiConfig.baseURL + url, {
  const query = new URLSearchParams(params).toString();
  fetch(`${apiConfig.baseURL}${url}?${query}`, {
    method: 'get',
    params: JSON.stringify({
      ...params,
    }),
    headers: {
      Authorization: localStorage.getItem('token'),
      'ConTent-Type': 'application/json;charset=UTF-8',
      'Content-Type': 'application/json;charset=UTF-8',
      timestamp: new Date().getTime(),
      client: localStorage.getItem('client')
    },
@@ -55,4 +53,4 @@
        duration: 2000
      })
    });
};
};