zlwu 1 год назад
Родитель
Сommit
159a0ac135
1 измененных файлов с 3 добавлено и 3 удалено
  1. 3 3
      web/src/views/system/oss/index.vue

+ 3 - 3
web/src/views/system/oss/index.vue

@@ -80,10 +80,10 @@
               v-if="previewListResource && checkFileSuffix(scope.row.fileSuffix)"
               :width="100"
               :height="100"
-              :src="scope.row.url"
-              :preview-src-list="[scope.row.url]"
+              :src="scope.row.ossId"
+              :preview-src-list="[scope.row.ossId]"
             />
-            <span v-if="!checkFileSuffix(scope.row.fileSuffix) || !previewListResource" v-text="scope.row.url" />
+            <span v-if="!checkFileSuffix(scope.row.fileSuffix) || !previewListResource" v-text="scope.row.fileName" />
           </template>
         </el-table-column>
         <el-table-column label="创建时间" align="center" prop="createTime" width="180" sortable="custom">