mirror of
https://github.com/acepanel/panel.git
synced 2026-02-05 02:07:18 +08:00
fix: lint
This commit is contained in:
@@ -3,7 +3,7 @@ import { http } from '@/utils'
|
||||
export interface ProcessListParams {
|
||||
page: number
|
||||
limit: number
|
||||
sort?: string // pid, name, cpu, rss, start_time
|
||||
sort?: string // pid, name, cpu, rss, start_time, ppid, num_threads
|
||||
order?: string // asc, desc
|
||||
status?: string // R, S, T, I, Z, W, L
|
||||
keyword?: string
|
||||
@@ -11,8 +11,7 @@ export interface ProcessListParams {
|
||||
|
||||
export default {
|
||||
// 获取进程列表
|
||||
list: (params: ProcessListParams) =>
|
||||
http.Get(`/process`, { params }),
|
||||
list: (params: ProcessListParams) => http.Get(`/process`, { params }),
|
||||
// 获取进程详情
|
||||
detail: (pid: number) => http.Get(`/process/detail`, { params: { pid } }),
|
||||
// 杀死进程 (SIGKILL)
|
||||
|
||||
Reference in New Issue
Block a user