bill 5 gadi atpakaļ
vecāks
revīzija
e34756b6fc
1 mainītis faili ar 2 papildinājumiem un 1 dzēšanām
  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({