2
0
mirror of https://github.com/acepanel/panel.git synced 2026-02-08 14:14:28 +08:00

feat: 优化队列实现

This commit is contained in:
耗子
2024-10-12 00:58:55 +08:00
parent 3c39027120
commit 0c4d97a512
6 changed files with 82 additions and 106 deletions

View File

@@ -7,7 +7,7 @@ export default {
list: (page: number, limit: number): Promise<AxiosResponse<any>> =>
request.get('/app/list', { params: { page, limit } }),
// 安装应用
install: (slug: string, channel: string): Promise<AxiosResponse<any>> =>
install: (slug: string, channel: string | null): Promise<AxiosResponse<any>> =>
request.post('/app/install', { slug, channel }),
// 卸载应用
uninstall: (slug: string): Promise<AxiosResponse<any>> =>