From 2ae368128606f8bf3aa290c029bdc71296ad152e Mon Sep 17 00:00:00 2001 From: zlyx <1242874891@qq.com> Date: 星期三, 18 一月 2023 20:23:11 +0800 Subject: [PATCH] add common 依赖 spring-boot-properties-migrator ; add 新增 modules 模块, 包含 demo, generator, job, system 模块 ; update 更新模块包名 rateLimiter => ratelimiter ; refactor 重构 ratelimiter 模块, 参考幂等模块加入自动装配相关配置 ; fix 修正 AsyncConfig 实现接口 ; fix 修正 SwaggerConfig 注解写法 ; fix 修正 ruoyi-common-doc pom 描述 ; delete LogAspect 去掉无用注解 ; --- ruoyi-ui/src/components/ImagePreview/index.vue | 11 ++--------- 1 files changed, 2 insertions(+), 9 deletions(-) diff --git a/ruoyi-ui/src/components/ImagePreview/index.vue b/ruoyi-ui/src/components/ImagePreview/index.vue index 3c770c7..cd99626 100644 --- a/ruoyi-ui/src/components/ImagePreview/index.vue +++ b/ruoyi-ui/src/components/ImagePreview/index.vue @@ -12,7 +12,6 @@ </template> <script> -import { isExternal } from "@/utils/validate"; export default { name: "ImagePreview", @@ -36,10 +35,7 @@ return; } let real_src = this.src.split(",")[0]; - if (isExternal(real_src)) { - return real_src; - } - return process.env.VUE_APP_BASE_API + real_src; + return real_src; }, realSrcList() { if (!this.src) { @@ -48,10 +44,7 @@ let real_src_list = this.src.split(","); let srcList = []; real_src_list.forEach(item => { - if (isExternal(item)) { - return srcList.push(item); - } - return srcList.push(process.env.VUE_APP_BASE_API + item); + return srcList.push(item); }); return srcList; }, -- Gitblit v1.9.3