From a7d09900629902c8170f639f070fc6da8d168e0b Mon Sep 17 00:00:00 2001 From: feige <791364011@qq.com> Date: 星期二, 20 二月 2024 17:55:50 +0800 Subject: [PATCH] 测试 --- ruoyi-ui/src/views/bignote/familyeventInfo.vue | 9 +++++++-- 1 files changed, 7 insertions(+), 2 deletions(-) diff --git a/ruoyi-ui/src/views/bignote/familyeventInfo.vue b/ruoyi-ui/src/views/bignote/familyeventInfo.vue index d95bb8d..8ce2343 100644 --- a/ruoyi-ui/src/views/bignote/familyeventInfo.vue +++ b/ruoyi-ui/src/views/bignote/familyeventInfo.vue @@ -304,7 +304,12 @@ let pth = paths[i].substr(paths[i].length - 4, paths[i].length) if (_this.fot.includes(pth) === true) - _this.fileList.push({name:paths[i],url: process.env.VUE_APP_BASE_TRUE_API+paths[i]}) + { + if(paths[i][0]=="/") + _this.fileList.push({name:paths[i],url: process.env.VUE_APP_BASE_TRUE_API+paths[i].substr(1)}) + else + _this.fileList.push({name:paths[i],url: process.env.VUE_APP_BASE_TRUE_API+paths[i]}) + } else { // alert(paths[i]) let nms = paths[i].split("\/") @@ -540,7 +545,7 @@ // return elem.url.replace(process.env.VUE_APP_BASE_TRUE_API,"") // }).join(",") //console.log(_this.fileList) - + alert(response.fileNames) _this.formData.url = _this.formData.url+","+response.fileNames // alert(87) -- Gitblit v1.9.1