feat: upload file
parent
611825b0f7
commit
b4d2b61201
|
@ -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: '文件路径',
|
||||
|
|
|
@ -5,6 +5,7 @@
|
|||
<BasicUpload
|
||||
:maxSize="20"
|
||||
:maxNumber="10"
|
||||
:emptyHidePreview="true"
|
||||
@change="handleChange"
|
||||
:uploadParams="uploadParams"
|
||||
:api="uploadApi"
|
||||
|
|
Loading…
Reference in New Issue