From 032d3160e131224d48b7b0a593d91407552c3a4a Mon Sep 17 00:00:00 2001 From: wangdong <1551135706@qq.com> Date: Tue, 26 Mar 2024 16:38:11 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BB=A3=E7=A0=81=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- mixins/config.js | 2 +- pages/activity/event.vue | 20 ++++++++++++++++++-- pages/special/member_recharge.vue | 2 +- pages/store/goodsCate.vue | 2 +- pages/topic/question_sheet.vue | 1 - 5 files changed, 21 insertions(+), 6 deletions(-) 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 @@