perf: optimize settingDrawer code

This commit is contained in:
vben
2020-11-10 22:45:39 +08:00
parent 5832ee6697
commit 4ff6b73c2b
25 changed files with 455 additions and 400 deletions

View File

@@ -1,12 +1,12 @@
import { defHttp } from '/@/utils/http/axios';
enum Api {
// 该地址不存在
// The address does not exist
Error = '/error',
}
/**
* @description: 触发ajax错误
* @description: Trigger ajax error
*/
export function fireErrorApi() {
return defHttp.request({