Explorar o código

fix: stop remote log

Casper Dai %!s(int64=2) %!d(string=hai) anos
pai
achega
eda5e7e2a7
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      src/views/platform/remote-log/index.vue

+ 2 - 2
src/views/platform/remote-log/index.vue

@@ -204,10 +204,10 @@ export default {
       }
       return getDevicesByTenant(this.$tenant.path, params)
     },
-    onStop () {
+    onStop ({ id }) {
       stopRemoteLog({
         duration: 60,
-        deviceId: this.curDeviceId,
+        deviceId: id,
         activate: false
       })
     },