error.ts 244 Bytes Edit Raw Blame History 1 2 3 4 5 6 7 8 9 10 11 12 13 14 import { defHttp } from '/@/utils/http/axios'; const { get } = defHttp; enum Api { // The address does not exist Error = '/error', } /** * @description: Trigger ajax error */ export const fireErrorApi = () => get({ url: Api.Error });