报名头像bug

main
lijingyu007 10 months ago
parent 8f97c125f4
commit 3abfa05f73
  1. 4
      src/page/homepage/crowdsourcing/crowddetails.vue

@ -392,6 +392,7 @@ export default {
}, },
userprogramme: {}, userprogramme: {},
baseurl: process.env.VUE_APP_BASE_TARGET, baseurl: process.env.VUE_APP_BASE_TARGET,
base: process.env.VUE_APP_BASE_API,
} }
}, },
components: { components: {
@ -416,6 +417,9 @@ export default {
if (this.userId == item.user_id) { if (this.userId == item.user_id) {
currentis = item currentis = item
} }
if (item.avatar.indexOf('http') == -1) {
item.avatar = this.base + item.avatar
}
}) })
} }
if (currentis) { if (currentis) {

Loading…
Cancel
Save