|
@@ -187,8 +187,8 @@ export const columns = (props: {
|
|
ellipsis: true,
|
|
ellipsis: true,
|
|
hideInSearch: true,
|
|
hideInSearch: true,
|
|
render: (a, b) => {
|
|
render: (a, b) => {
|
|
- let isHot = a ? '是' : '否';
|
|
|
|
- return <Badge status={a ? 'processing' : 'default'} text={isHot} />;
|
|
|
|
|
|
+ let isHot = b.publicDistributor ? '是' : '否';
|
|
|
|
+ return <Badge status={ b.publicDistributor ? 'processing' : 'default'} text={isHot} />;
|
|
},
|
|
},
|
|
},
|
|
},
|
|
{
|
|
{
|
|
@@ -200,8 +200,8 @@ export const columns = (props: {
|
|
ellipsis: true,
|
|
ellipsis: true,
|
|
hideInSearch: true,
|
|
hideInSearch: true,
|
|
render: (a, b) => {
|
|
render: (a, b) => {
|
|
- let isHot = a ? '是' : '否';
|
|
|
|
- return <Badge status={a ? 'processing' : 'default'} text={isHot} />;
|
|
|
|
|
|
+ let isHot = b.allowDistributorConfig ? '是' : '否';
|
|
|
|
+ return <Badge status={b.allowDistributorConfig ? 'processing' : 'default'} text={isHot} />;
|
|
},
|
|
},
|
|
},
|
|
},
|
|
{
|
|
{
|