Browse Source

fix: 修复项目中的视频监控的解绑

yanglzh 3 months ago
parent
commit
2ea2c41ad3
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/views/iot/projects/detail/video.vue

+ 1 - 1
src/views/iot/projects/detail/video.vue

@@ -158,7 +158,7 @@ function onDel(row: any) {
       .unbindResources({
       .unbindResources({
         projectsCode,
         projectsCode,
         resourcesTypes,
         resourcesTypes,
-        resourcesKey: row.ID + "-" + row.deviceId,
+        resourcesKey: row.deviceId + "-" + row.channelId,
       })
       })
       .then(() => {
       .then(() => {
         getSourceList();
         getSourceList();