Commit 6b69ac72 authored by 前端-黄佳鑫's avatar 前端-黄佳鑫

fix: 平台参数启用状态展示不对

parent e2e6d652
...@@ -31,8 +31,8 @@ const SensitiveWords: React.FC<{}> = () => { ...@@ -31,8 +31,8 @@ const SensitiveWords: React.FC<{}> = () => {
dataIndex: 'state', dataIndex: 'state',
render: (text: any, record: any) => ( render: (text: any, record: any) => (
<StatusSwitch <StatusSwitch
fieldNames="status" fieldNames="state"
handleConfirm={() => handleChangeStatus(record.id, record.status)} handleConfirm={() => handleChangeStatus(record.id, record.state)}
record={record} record={record}
expectTrueValue={1} expectTrueValue={1}
/> />
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment