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) {