ZZJ
2022-06-08 6b31092156a10b808e8f27c00644850b7e900395
src/views/hashrate/AlgManage/index.vue
@@ -75,7 +75,7 @@
          >
            <img src="/images/hashrate/算法管理空页面.png" alt="" />
            <div class="des">
              暂未安装算法,从左侧算法中心拖到算法到此处,即可安装
              暂未安装算法,从左侧算法中心算法到此处,即可安装
            </div>
          </div>
        </div>
@@ -168,7 +168,12 @@
            console.log(item);
          }
          item.logoUrl = "/httpImage/" + item.logoUrl;
          if (
            item.logoUrl.indexOf("http://apps.smartai.com/httpImage/") === -1
          ) {
            item.logoUrl = "/httpImage/" + item.logoUrl;
          }
          if (item.priceBase === 0) {
            this.freeAlg.push(item);
          } else {
@@ -182,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);
          }
        });
      }
    },
    //拖拽开始
@@ -256,7 +266,7 @@
      if (res && res.success) {
        this.$notify({
          type: "success",
          message: "操作成功",
          message: res.msg,
        });
      }
    },