error.ts 226 B

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