소스 검색

修改BUG

bill 5 년 전
부모
커밋
e34756b6fc
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 2 1
      src/page/device/index.vue

+ 2 - 1
src/page/device/index.vue

@@ -254,8 +254,9 @@ export default {
         type: 'warning'
       }).then(async () => {
         this.fullscreenLoading = true
+        console.log(row)
         let res = await this.$http.post('/manager/camera/unbind', {
-          cameraId
+          cameraId: row.id
         })
         if (res.code === 0) {
           this.$message({