Skip to content

Commit

Permalink
fix: 修复用户地图组件中的 exif 参数设置,并注释掉请求超时时间配置
Browse files Browse the repository at this point in the history
  • Loading branch information
IceyWu committed Dec 8, 2024
1 parent d9976f1 commit 35283d5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/pages/mine/components/UserMap.vue
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ async function getData() {
page: 1,
size: 100,
userId: userInfo.value?.id,
// exif: true,
exif: true,
}
// const API = `${params.baseApi}/api/topic?page=${params.page}&size=${params.size}&sort=desc,createdAt&userId=${params.userId}&exif=${params.exif}`
// const [err, res] = await to($fetch<any>(API))
Expand Down
2 changes: 1 addition & 1 deletion src/utils/http/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ const defaultConfig: AxiosRequestConfig = {
// 当前使用mock模拟请求,将baseURL制空
baseURL: baseUrl.apiServer,
// 请求超时时间
timeout: 10000,
// timeout: 10000,
// headers: {
// Accept: "application/json, text/plain, */*",
// "Content-Type": "application/json",
Expand Down

0 comments on commit 35283d5

Please sign in to comment.