diff --git a/src/views/infra/file/file.data.ts b/src/views/infra/file/file.data.ts index f07fed67..1741390c 100644 --- a/src/views/infra/file/file.data.ts +++ b/src/views/infra/file/file.data.ts @@ -8,7 +8,7 @@ export const columns: BasicColumn[] = [ }, { title: '文件名', - dataIndex: 'module', + dataIndex: 'name', width: 200 }, { @@ -19,7 +19,10 @@ export const columns: BasicColumn[] = [ { title: '文件 URL', dataIndex: 'url', - width: 300 + width: 300, + customRender: ({ text }) => { + return useRender.renderImg(text) + } }, { title: '文件路径', diff --git a/src/views/infra/file/index.vue b/src/views/infra/file/index.vue index bb96e9ca..c76a2c6a 100644 --- a/src/views/infra/file/index.vue +++ b/src/views/infra/file/index.vue @@ -5,6 +5,7 @@