2 Commits 609e3aa02a ... 94b7ca6c3e

Author SHA1 Message Date
  文毅 94b7ca6c3e Merge branch 'main' of http://192.168.0.80:3000/aexiaoliou/project-manager 1 year ago
  文毅 f3edcab3a6 增加样式 1 year ago
1 changed files with 3 additions and 1 deletions
  1. 3 1
      h5/src/views/data/repertory.vue

+ 3 - 1
h5/src/views/data/repertory.vue

@@ -403,7 +403,9 @@
 						</el-table-column>
 						<el-table-column prop="attachment" label="附件" width="">
 							<template #default="scope">
-								<el-link :href="scope.row.attachment" target="_blank" type="primary">查看附件</el-link>
+								<el-link v-if="scope.row.attachment" :href="scope.row.attachment" target="_blank"
+									type="primary">查看附件</el-link>
+								<el-link v-else target="_blank" type="info" disabled>暂无附件</el-link>
 							</template>
 						</el-table-column>
 						<el-table-column fixed="right" label="操作" width="">