import React from "react"
let columns = () => [
{
title: '商品名称',
dataIndex: 'productName',
key: 'productName',
align: 'center',
ellipsis: true,
render: (a: any, b: any) => {
return {a}
}
},
{
title: '商品封面',
dataIndex: 'productImageUrl',
key: 'productImageUrl',
ellipsis: true,
align: 'center',
render: (a: any, b: any) => {
return
}
},
{
title: '描述',
dataIndex: 'description',
key: 'description',
align: 'center',
ellipsis: true,
render: (a: any, b: any) => {
return {a}
}
},
{
title: '商品库名称',
dataIndex: 'productCatalog',
key: 'productCatalog',
align: 'center',
ellipsis: true,
render: (a: any, b: any) => {
return {a?.productCatalogName}
}
},
{
title: '分类',
dataIndex: 'secondCatalogName',
key: 'secondCatalogName',
align: 'center',
ellipsis: true,
render: (a: any, b: any) => {
return {b.firstCatalogName}-{b.secondCatalogName}-{b.thirdCatalogName}
}
},
]
export default columns