mirror of
https://github.com/acepanel/panel.git
synced 2026-02-07 16:47:14 +08:00
feat: alova.js替换axios
This commit is contained in:
@@ -30,5 +30,5 @@ export default {
|
||||
http.Post(`/apps/php${version}/extensions`, { slug }),
|
||||
// 卸载拓展
|
||||
uninstallExtension: (version: number, slug: string): any =>
|
||||
http.Delete(`/apps/php${version}/extensions`, { data: { slug } })
|
||||
http.Delete(`/apps/php${version}/extensions`, { slug })
|
||||
}
|
||||
|
||||
@@ -7,5 +7,5 @@ export default {
|
||||
// 添加
|
||||
add: (data: any): any => http.Post('/apps/s3fs/mounts', data),
|
||||
// 删除
|
||||
delete: (id: number): any => http.Delete('/apps/s3fs/mounts', { data: { id } })
|
||||
delete: (id: number): any => http.Delete('/apps/s3fs/mounts', { id })
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user