提交 9ab90a44 authored 作者: matian's avatar matian

fix:修改图片尺寸

上级 c28f2147
...@@ -3,7 +3,13 @@ ...@@ -3,7 +3,13 @@
<app-card> <app-card>
<app-list v-bind="tableOptions" ref="list"> <app-list v-bind="tableOptions" ref="list">
<template v-slot:payment_voucher_filename="{ row }"> <template v-slot:payment_voucher_filename="{ row }">
<el-image v-for="(item, index) in row.payment_voucher_filename" :key="index" :src="item"></el-image> <el-image
v-for="(item, index) in row.payment_voucher_filename"
:key="index"
:src="item"
:fit="cover"
style="width: 100px; height: 100px"
></el-image>
</template> </template>
<template v-slot:table-x="{ row }"> <template v-slot:table-x="{ row }">
<el-button @click="toPayDetail(row)">查看</el-button> <el-button @click="toPayDetail(row)">查看</el-button>
......
...@@ -3,7 +3,13 @@ ...@@ -3,7 +3,13 @@
<app-card> <app-card>
<app-list v-bind="tableOptions" ref="list"> <app-list v-bind="tableOptions" ref="list">
<template v-slot:payment_voucher_filename="{ row }"> <template v-slot:payment_voucher_filename="{ row }">
<el-image v-for="(item, index) in row.payment_voucher_filename" :key="index" :src="item"></el-image> :fit="cover"
<el-image
v-for="(item, index) in row.payment_voucher_filename"
:key="index"
:src="item"
style="width: 100px; height: 100px"
></el-image>
</template> </template>
<template v-slot:table-x="{ row }"> <template v-slot:table-x="{ row }">
<el-button @click="toDeal(row)">处理</el-button> <el-button @click="toDeal(row)">处理</el-button>
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论