bill 5 vuotta sitten
vanhempi
commit
e34756b6fc
1 muutettua tiedostoa jossa 2 lisäystä ja 1 poistoa
  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({