From b4495445fbfc616a2126587ce9eec205fc1cbe19 Mon Sep 17 00:00:00 2001
From: ZZJ <zzjdsg2300@163.com>
Date: 星期三, 20 四月 2022 13:52:11 +0800
Subject: [PATCH] 授权时间修改

---
 src/Pool/PollData.ts |    9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/src/Pool/PollData.ts b/src/Pool/PollData.ts
index da79eb0..1a50fc4 100644
--- a/src/Pool/PollData.ts
+++ b/src/Pool/PollData.ts
@@ -159,7 +159,9 @@
       res  = await clusterSysInfo({});
     }
     else {
-      res  = await devicesSysInfo({});
+      res  = await devicesSysInfo({
+        deviceId:[sessionStorage.getItem('devId')],
+      });
     }
     if (res && res.success ) {
       this.CpuUsedPercent =res.data.cpu.usedPercent.toFixed(2)
@@ -178,7 +180,10 @@
       res  = await clusterStatisticRunInfo({});
     }
     else {
-      res  = await deviceStatisticRunInfo({});
+      res  = await deviceStatisticRunInfo({
+        deviceId:[sessionStorage.getItem('devId')],
+        userId:''
+      });
     }
    
     if (res && res.success) {

--
Gitblit v1.8.0