ソースを参照

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
       })
     },