From fc17d4b6114ac373b28570837865998f5189e3a6 Mon Sep 17 00:00:00 2001 From: ZZJ <zzjdsg2300@163.com> Date: 星期五, 22 四月 2022 16:10:18 +0800 Subject: [PATCH] 图片url --- 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 9082156..71f24a5 100644 --- a/src/views/hashrate/AlgManage/index.vue +++ b/src/views/hashrate/AlgManage/index.vue @@ -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 { -- Gitblit v1.8.0