feat: update select

This commit is contained in:
chashaobao
2025-10-13 23:48:44 +08:00
parent 4991720abb
commit e6d1838682
2 changed files with 7 additions and 14 deletions

View File

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