From 749ddf79e0a6029263a505d360feb140e54d2aae Mon Sep 17 00:00:00 2001 From: lijingyu007 <904564792@qq.com> Date: Wed, 29 May 2024 17:26:00 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BA=91=E5=91=98=E5=B7=A5=E5=A4=B4=E5=83=8F?= =?UTF-8?q?=E5=A4=84=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/page/homepage/personability/abilityMore.vue | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/page/homepage/personability/abilityMore.vue b/src/page/homepage/personability/abilityMore.vue index fe1614e..db12cab 100644 --- a/src/page/homepage/personability/abilityMore.vue +++ b/src/page/homepage/personability/abilityMore.vue @@ -57,6 +57,7 @@ export default { pageSize: 12, keyword: '', }, + base: process.env.VUE_APP_BASE_API } }, mounted() {}, @@ -72,6 +73,11 @@ export default { getCloudList(this.queryParams).then((res) => { this.total = res.total this.peopleList = res.rows + this.peopleList.forEach(it => { + if (it.avatar.indexOf('/prod-api') == -1) { + it.avatar = this.base + it.avatar + } + }) }) }, handleSizeChange(val) {