@@ -52,7 +52,7 @@ export default {
this.$http
.post('/sc-energy/device/batchValve', {
valveStatus: satus,
- ids: id
+ ids: [id]
})
.then(({ status, data, msg }) => {
if (status === 0) {