2
0
mirror of https://github.com/acepanel/panel.git synced 2026-02-05 17:07:18 +08:00

fix: ssh session

This commit is contained in:
耗子
2024-10-13 00:46:06 +08:00
parent b9d5aa5fb1
commit e1cceca340
2 changed files with 3 additions and 3 deletions

View File

@@ -27,7 +27,7 @@ export default {
request.post('/website/' + id + '/updateRemark', { remark }),
// 重置配置
resetConfig: (id: number): Promise<AxiosResponse<any>> =>
request.post('/website/' + id + '/resetConfig'),
request.post('/website/' + id + '/resetConfig', {}),
// 修改状态
status: (id: number, status: boolean): Promise<AxiosResponse<any>> =>
request.post('/website/' + id + '/status', { status })