From edef6ae8f59823258ce610c9074d32e698958b51 Mon Sep 17 00:00:00 2001 From: ZZJ <10913410+zzj2100@user.noreply.gitee.com> Date: 星期四, 28 七月 2022 15:30:44 +0800 Subject: [PATCH] 本地图片适配 --- src/components/subComponents/ImageShow.vue | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/src/components/subComponents/ImageShow.vue b/src/components/subComponents/ImageShow.vue index 3285ef7..a0484a7 100644 --- a/src/components/subComponents/ImageShow.vue +++ b/src/components/subComponents/ImageShow.vue @@ -12,7 +12,8 @@ if ( this.src && this.src.indexOf("http://apps.smartai.com/httpImage/") === -1 && - this.src.indexOf("/images") !== 0 + this.src.indexOf("/images") !== 0 && + this.src.indexOf("/files") !== 0 ) { return "/httpImage/" + this.src; } else { -- Gitblit v1.8.0