瀏覽代碼

fix: stop remote log

Casper Dai 2 年之前
父節點
當前提交
eda5e7e2a7
共有 1 個文件被更改,包括 2 次插入2 次删除
  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
       })
     },