Commit ce4120d9 by qinjianhui

fix: 删除多余代码

parent 3c055896
......@@ -59,16 +59,6 @@
:columns="tableColumns"
@selection-change="handleSelectionChange"
>
<template #image="{ row }">
<el-image
v-if="row.imageUrl"
:src="row.imageUrl"
style="width: 60px; height: 60px"
:preview-src-list="[row.imageUrl]"
fit="cover"
></el-image>
<span v-else>暂无图片</span>
</template>
</TableView>
</div>
<ElPagination
......@@ -115,11 +105,7 @@ const tableColumns = computed(() => {
align: 'center',
slot: 'image',
render: (item: OutOfStockItem) => (
<ImageView
src={item.variantImage}
width="40px"
height="40px"
/>
<ImageView src={item.variantImage} width="40px" height="40px" />
),
},
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment