Ben Lin
2024-08-21 ccebd227e4f3bfaab7a27c5b8dcc55b642a4006b
1
2
3
4
5
6
7
8
9
10
11
12
import { defHttp } from '@/utils/http/axios';
 
enum Api {
  // The address does not exist
  Error = '/error',
}
 
/**
 * @description: Trigger ajax error
 */
 
export const fireErrorApi = () => defHttp.get({ url: Api.Error });