lirbiaodfj

This commit is contained in:
shilixia 2021-03-18 13:11:56 +08:00
parent a9a60c2c00
commit 1849681d65
1 changed files with 5 additions and 1 deletions

View File

@ -113,7 +113,11 @@
<el-table-column label="上报文件">
<template slot-scope="scope" v-if="scope.row.files">
<el-link v-if="scope.row.files.length>1">{{scope.row.files.length}}个文件</el-link>
<el-link v-if="scope.row.files.length>1">{{scope.row.files.length}}个文件</el-link>
<div v-else v-for="item in scope.row.files_" v-bind:key="item.id">
<el-link :href="item.path" target="_blank" type="primary">{{ item.name }}</el-link>
</div>
</template>
</el-table-column>
</el-table>