From db4ed65e1d7d43a10b1315cd8fa1f97984555016 Mon Sep 17 00:00:00 2001
From: ZZJ <10913410+zzj2100@user.noreply.gitee.com>
Date: 星期四, 02 六月 2022 18:30:11 +0800
Subject: [PATCH] 算力管理过滤设备

---
 src/views/hashrate/AlgManage/index.vue |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diff --git a/src/views/hashrate/AlgManage/index.vue b/src/views/hashrate/AlgManage/index.vue
index 0b1289c..97f3089 100644
--- a/src/views/hashrate/AlgManage/index.vue
+++ b/src/views/hashrate/AlgManage/index.vue
@@ -187,7 +187,12 @@
     async getEquipment() {
       const res = await findAllSdk();
       if (res && res.success) {
-        this.equipmentArr = res.data;
+        this.equipmentArr = [];
+        res.data.forEach((item, index) => {
+          if (item.sdkList) {
+            this.equipmentArr.push(item);
+          }
+        });
       }
     },
     //鎷栨嫿寮�濮�

--
Gitblit v1.8.0