13 lines
226 B
TypeScript
13 lines
226 B
TypeScript
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 });
|