@@ -179,7 +179,7 @@ export default {
})
},
handleDelete (record) {
- deleteSpare({ id: [record.id] }).then(res => {
+ deleteSpare({ id: record.id }).then(res => {
this.$message.info('操作成功!')
}