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 @@