提交 4a45111e authored 作者: pengxiaohui's avatar pengxiaohui

bug fixes

上级 2c48b16b
...@@ -75,8 +75,8 @@ ...@@ -75,8 +75,8 @@
<el-image <el-image
style="width: 100px; height: 100px;" style="width: 100px; height: 100px;"
fit="scale-down" fit="scale-down"
:src="(scope.row.uris && scope.row.uris[0]) ? scope.row.uris[0].uri: scope.row.uri" :src="(scope.row.uris && scope.row.uris[0]) ? scope.row.uris[0].uri: scope.row.url"
:preview-src-list="(scope.row.uris && scope.row.uris[0]) ? scope.row.uris.map(item => item.uri):[scope.row.uri]"> :preview-src-list="(scope.row.uris && scope.row.uris[0]) ? scope.row.uris.map(item => item.uri):[scope.row.url]">
</el-image> </el-image>
</div> </div>
</div> </div>
...@@ -152,7 +152,7 @@ ...@@ -152,7 +152,7 @@
</div> </div>
</el-card> </el-card>
</div> </div>
<div :hidden="pdfDialogFormVisible"> <div v-if="pdfDialogFormVisible">
<embed class="embed" width="600px" height="700px" :src="pdfUrl" type="application/pdf"/> <embed class="embed" width="600px" height="700px" :src="pdfUrl" type="application/pdf"/>
</div> </div>
<div> <div>
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论