* fix(web): 修复默认不存在时跳转问题

* feature(web): 图片组件增加预览
This commit is contained in:
Rhon Joe
2023-07-14 21:21:25 +08:00
committed by GitHub
parent 784dca2baa
commit fe27fd4c86
4 changed files with 24 additions and 5 deletions

View File

@@ -33,7 +33,7 @@
<el-table :data="tableData">
<el-table-column align="left" label="预览" width="100">
<template #default="scope">
<CustomPic pic-type="file" :pic-src="scope.row.url" />
<CustomPic pic-type="file" :pic-src="scope.row.url" preview/>
</template>
</el-table-column>
<el-table-column align="left" label="日期" prop="UpdatedAt" width="180">