mirror of
https://github.com/soybeanjs/soybean-admin.git
synced 2025-10-14 05:43:41 +08:00
feat(projects): 引入mockjs
This commit is contained in:
@@ -5,3 +5,8 @@ export const request = createRequest({
|
||||
baseURL: import.meta.env.VITE_HTTP_URL,
|
||||
timeout: REQUEST_TIMEOUT
|
||||
});
|
||||
|
||||
export const mockRequest = createRequest({
|
||||
baseURL: '',
|
||||
timeout: REQUEST_TIMEOUT
|
||||
});
|
||||
|
Reference in New Issue
Block a user