소스 검색

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