Sign in

canrd-outside / order-erp-front · Files

GitLab

  • Go to group
  • Project
  • Activity
  • Files
  • Commits
  • Builds 0
  • Network
  • Graphs
  • Milestones
  • Issues 0
  • Merge Requests 1
  • Labels
  • Wiki
  • order-erp-front
  • src
  • api
  • demo
  • error.ts
  • fix: ensure to request the interface correctly
    11d3f395
    Vben authored
    2021-02-26 23:30:22 +0800  
    Browse Dir ยป
error.ts 226 Bytes
Edit Raw Blame History Permalink
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 });