wjx 11 maanden geleden
bovenliggende
commit
c45173894b
1 gewijzigde bestanden met toevoegingen van 1 en 1 verwijderingen
  1. 1 1
      src/pages/gameDataStatistics/roleOperate/roleRechargeRanking/tableConfig.tsx

+ 1 - 1
src/pages/gameDataStatistics/roleOperate/roleRechargeRanking/tableConfig.tsx

@@ -235,7 +235,7 @@ function columns12(
                     title: '是否添加企微', dataIndex: 'is_add_corp_wechat', label: '客户运营操作', align: 'center', width: 60,
                     render: (a: any, b: any) => {
                         // return <IsTrue value={a ? '1' : '0'} onChange={(value) => handleIsTrue(value, b, 'isAddCorpWechat')} />
-                        return a === 2 ? '--' : <Badge status="success" text="是" /> : a === 0 ? <Badge status="default" text="否" /> : '--'
+                        return a === 2 ? '--' : a === 1 ? <Badge status="success" text="是" /> : a === 0 ? <Badge status="default" text="否" /> : '--'
                     },
                 },
                 {