mirror of
https://github.com/vbenjs/vue-vben-admin.git
synced 2025-08-26 16:46:19 +08:00
17 lines
265 B
TypeScript
17 lines
265 B
TypeScript
import { defHttp } from '/@/utils/http/axios';
|
|
|
|
enum Api {
|
|
// The address does not exist
|
|
Error = '/error',
|
|
}
|
|
|
|
/**
|
|
* @description: Trigger ajax error
|
|
*/
|
|
export function fireErrorApi() {
|
|
return defHttp.request({
|
|
url: Api.Error,
|
|
method: 'GET',
|
|
});
|
|
}
|