hejianhao
2026-01-29 41512c2de95aba805e1cfa6a684c46a5985e878c
fix(workList): 修正图片预览时URL拼接问题

在openImgDialog方法中,为图片数组的每个元素拼接基础URL,确保预览功能能正确加载图片资源
1个文件已修改
4 ■■■■■ 已修改文件
screen/src/view/workList/index.vue 4 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
screen/src/view/workList/index.vue
@@ -407,7 +407,9 @@
    },
    openImgDialog(img) {
      this.imgArr = img.split(",");
      this.imgArr = img.split(",").map((item) => {
        return process.env.VUE_APP_IMAGE_BASE_URL + "/project/download/" + item;
      });
      this.previewVisible = true;
    },