Browse Source

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

yanglzh 3 tháng trước cách đây
mục cha
commit
2ea2c41ad3
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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({
         projectsCode,
         resourcesTypes,
-        resourcesKey: row.ID + "-" + row.deviceId,
+        resourcesKey: row.deviceId + "-" + row.channelId,
       })
       .then(() => {
         getSourceList();