ZZJ
2022-06-02 db4ed65e1d7d43a10b1315cd8fa1f97984555016
算力管理过滤设备
2个文件已修改
8 ■■■■ 已修改文件
package.json 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/hashrate/AlgManage/index.vue 7 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
package.json
@@ -9,6 +9,7 @@
  },
  "dependencies": {
    "@amap/amap-jsapi-loader": "^1.0.1",
    "@antv/g2": "^4.2.2",
    "@hscmap/vue-window": "^2.4.2",
    "axios": "^0.19.0",
    "core-js": "^2.6.5",
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);
          }
        });
      }
    },
    //拖拽开始