Commit 4ef25409 by 前端

修复BUG

1 parent c4785c94
...@@ -127,9 +127,10 @@ ...@@ -127,9 +127,10 @@
</div> </div>
</span> </span>
</span> </span>
<span v-else-if="f.fileType === 'pdf'"> <span v-else-if="f.fileType === 'pdf'"
:title="f.fileName">
<el-button type="text" <el-button type="text"
@click="lookPdf(f.fileUrl)">{{ f.fileName }}</el-button> @click="lookPdf(f.fileUrl)">{{ f.fileName ? (f.fileName.length > 30 ? (f.fileName.slice(0, 30) + '...') : f.fileName) : '' }}</el-button>
</span> </span>
</div> </div>
</template> </template>
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!