-
Notifications
You must be signed in to change notification settings - Fork 428
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
perf: improves performance when loading large logs
- Loading branch information
Showing
4 changed files
with
236 additions
and
78 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
import http from '@/lib/http' | ||
|
||
interface IData { | ||
type: string | ||
conf_name: string | ||
server_idx: number | ||
directive_idx: number | ||
} | ||
|
||
const nginx_log = { | ||
page(page = 0, data: IData) { | ||
return http.post('/nginx_log?page=' + page, data) | ||
} | ||
} | ||
|
||
export default nginx_log |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.