Skip to content

Commit 03cc031

Browse files
committed
上一个commit的补充
1 parent 8d4eb99 commit 03cc031

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

  • cmdb-ui/src/modules/cmdb/api

cmdb-ui/src/modules/cmdb/api/dcim.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,10 +55,11 @@ export function postDevice(rackId, deviceId, data) {
5555
})
5656
}
5757

58-
export function deleteDevice(rackId, deviceId) {
58+
export function deleteDevice(rackId, deviceId, data) {
5959
return axios({
6060
url: `/v0.1/dcim/rack/${rackId}/device/${deviceId}`,
61-
method: 'DELETE'
61+
method: 'DELETE',
62+
data
6263
})
6364
}
6465

0 commit comments

Comments
 (0)