修复通道列表音频开关

This commit is contained in:
648540858
2024-09-19 10:03:32 +08:00
parent 2f9dc36405
commit 91c4677de4
6 changed files with 28 additions and 43 deletions

View File

@@ -475,8 +475,11 @@ export default {
updateChannel: function (row) {
this.$axios({
method: 'post',
url: `/api/device/query/channel/update/${this.deviceId}`,
params: row
url: `/api/device/query/channel/audio`,
params: {
channelId: row.id,
audio: row.hasAudio
}
}).then(function (res) {
console.log(JSON.stringify(res));
});