💥 feat(模块): h

This commit is contained in:
chashaobao
2025-10-20 08:00:27 +08:00
parent 3d29ecbf1e
commit aebb3d744e

View File

@ -12,7 +12,7 @@ import { IRequestResponse } from './types/http';
* @doc https://umijs.org/docs/max/request#配置 * @doc https://umijs.org/docs/max/request#配置
*/ */
export const requestConfig: RequestConfig = { export const requestConfig: RequestConfig = {
baseURL: (window.ENV?.BASE_URL || 'https://dev.neighbourhood.cn') as string, baseURL: (window.ENV?.BASE_URL || 'https://neighbourhood.cn') as string,
// 错误处理: umi@3 的错误处理方案。 // 错误处理: umi@3 的错误处理方案。
errorConfig: { errorConfig: {
// 错误抛出 // 错误抛出