bill %!s(int64=5) %!d(string=hai) anos
pai
achega
e34756b6fc
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  1. 2 1
      src/page/device/index.vue

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

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