疯狂的狮子li
2023-03-08 0b761fe52becbc5a15f083a481c583b43bf41feb
update 优化 oss 预览使用 ImagePreview 组件
已修改1个文件
4 ■■■■ 文件已修改
ruoyi-ui/src/views/system/oss/index.vue 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ruoyi-ui/src/views/system/oss/index.vue
@@ -121,9 +121,9 @@
      <el-table-column label="文件后缀" align="center" prop="fileSuffix" />
      <el-table-column label="文件展示" align="center" prop="url">
        <template slot-scope="scope">
          <el-image
          <ImagePreview
            v-if="previewListResource && checkFileSuffix(scope.row.fileSuffix)"
            style="width: 100px; height: 100px;"
            :width=100 :height=100
            :src="scope.row.url"
            :preview-src-list="[scope.row.url]"/>
          <span v-text="scope.row.url"