国内海外详情 - 发布稿 - 文件多个显示

This commit is contained in:
yanyizhou
2021-12-28 21:23:08 +08:00
parent 10e2f4a300
commit 3dc4806176
@@ -69,7 +69,7 @@
<label style=" margin-right: 164px;">{{ child.attrName }}</label>
<template v-if="child.value && child.value.length > 0"
v-for="(file, fileIndex) in child1Func(child.value)">
<!-- 单个文件时-->
<span v-if="child.value && child.value.length > 0 && child.value.length === 1">
<a style="font-size: 16px;color: #409EFF;cursor: pointer"
@click="openFileInPdf(file.id, file.oldFileName)" target="_blank"
@@ -88,6 +88,7 @@
/>
<!-- <span class="time-text">上传时间{{ dateFormat(file.modifyTime) }}</span>-->
</span>
<!-- 多个文件时-->
<span v-else-if="child.value && child.value.length > 0">
<div style="margin-left: 19%">
<a style="font-size: 16px;color: #409EFF;cursor: pointer"