bill 5 år sedan
förälder
incheckning
e34756b6fc
1 ändrade filer med 2 tillägg och 1 borttagningar
  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({