We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0c3dd92 commit 1d8676fCopy full SHA for 1d8676f
apps/backend-mock/api/system/dept/list.ts
@@ -1,10 +1,6 @@
1
import { faker } from '@faker-js/faker';
2
import { verifyAccessToken } from '~/utils/jwt-utils';
3
-import {
4
- sleep,
5
- unAuthorizedResponse,
6
- useResponseSuccess,
7
-} from '~/utils/response';
+import { unAuthorizedResponse, useResponseSuccess } from '~/utils/response';
8
9
const formatterCN = new Intl.DateTimeFormat('zh-CN', {
10
timeZone: 'Asia/Shanghai',
@@ -59,8 +55,6 @@ export default eventHandler(async (event) => {
59
55
return unAuthorizedResponse(event);
60
56
}
61
57
62
- await sleep(600);
63
-
64
58
const listData = structuredClone(mockData);
65
66
return useResponseSuccess(listData);
0 commit comments