2 Revize 609e3aa02a ... 94b7ca6c3e

Autor SHA1 Zpráva Datum
  文毅 94b7ca6c3e Merge branch 'main' of http://192.168.0.80:3000/aexiaoliou/project-manager před 1 rokem
  文毅 f3edcab3a6 增加样式 před 1 rokem
1 změnil soubory, kde provedl 3 přidání a 1 odebrání
  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="">