diff --git a/mixins/config.js b/mixins/config.js index df9d005..9b706b0 100644 --- a/mixins/config.js +++ b/mixins/config.js @@ -5,7 +5,7 @@ const { IMAGE_ASSETS_URL } = config; export default { methods: { getImgPath(path) { - return IMAGE_ASSETS_URL + path; + return path.indexOf('http') > -1 ? path : IMAGE_ASSETS_URL + path; } } } \ No newline at end of file diff --git a/pages/activity/event.vue b/pages/activity/event.vue index 29e55db..8fbc7d8 100644 --- a/pages/activity/event.vue +++ b/pages/activity/event.vue @@ -4,7 +4,7 @@