2
0
mirror of https://github.com/acepanel/panel.git synced 2026-02-06 03:47:17 +08:00

fix: s3fs挂载与卸载

This commit is contained in:
耗子
2024-12-29 16:16:24 +08:00
parent f67c02a0ec
commit 75dcaca0b6
5 changed files with 405 additions and 390 deletions

View File

@@ -9,5 +9,6 @@ export default {
// 添加
add: (data: any): Promise<AxiosResponse<any>> => request.post('/apps/s3fs/mounts', data),
// 删除
delete: (id: number): Promise<AxiosResponse<any>> => request.post('/apps/s3fs/mounts', { id })
delete: (id: number): Promise<AxiosResponse<any>> =>
request.delete('/apps/s3fs/mounts', { data: { id } })
}