From 6769e513f8df88f85be84ded18161f6e4b4c4bba Mon Sep 17 00:00:00 2001 From: xia <1928964683@qq.com> Date: Thu, 3 Aug 2023 16:09:40 +0800 Subject: [PATCH] =?UTF-8?q?=E5=85=A8=E9=83=A8=E4=BB=BB=E5=8A=A1=EF=BC=88?= =?UTF-8?q?=E7=AE=A1=E7=90=86=E5=91=98=EF=BC=89-=E4=BF=AE=E5=A4=8D?= =?UTF-8?q?=E5=A4=B4=E5=83=8F=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../task_admin/task_content/TaskContent.vue | 6 +- .../task_content/content_card/ContentCard.vue | 57 ++++++++++++++++--- 2 files changed, 54 insertions(+), 9 deletions(-) diff --git a/ant-design-vue-jeecg/src/views/newLayout/task_admin/task_content/TaskContent.vue b/ant-design-vue-jeecg/src/views/newLayout/task_admin/task_content/TaskContent.vue index eada85e..f9c6400 100644 --- a/ant-design-vue-jeecg/src/views/newLayout/task_admin/task_content/TaskContent.vue +++ b/ant-design-vue-jeecg/src/views/newLayout/task_admin/task_content/TaskContent.vue @@ -211,7 +211,11 @@ export default { this.TotalData[index].data = res.result.records this.TotalData[index].total = res.result.total this.TotalData[index].data.forEach((element) => { - element.headpic = getFileAccessHttpUrl(element.headpic) + let arr = [] + for (let i = 0; i < element.headpic.split(',').length; i++) { + arr = [...arr, getFileAccessHttpUrl(element.headpic.split(',')[i])] + } + element.headpic = arr.join(',') element.taskPic = getFileAccessHttpUrl(element.taskPic) element.taskFile = getFileAccessHttpUrl(element.taskFile) }) diff --git a/ant-design-vue-jeecg/src/views/newLayout/task_admin/task_content/content_card/ContentCard.vue b/ant-design-vue-jeecg/src/views/newLayout/task_admin/task_content/content_card/ContentCard.vue index dd4a336..6483e2c 100644 --- a/ant-design-vue-jeecg/src/views/newLayout/task_admin/task_content/content_card/ContentCard.vue +++ b/ant-design-vue-jeecg/src/views/newLayout/task_admin/task_content/content_card/ContentCard.vue @@ -13,6 +13,7 @@
- + - 黄金糕 - 狮子头 + + {{ p.name }} @@ -350,7 +356,7 @@