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

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

parent e2e6d652
......@@ -31,8 +31,8 @@ const SensitiveWords: React.FC<{}> = () => {
dataIndex: 'state',
render: (text: any, record: any) => (
<StatusSwitch
fieldNames="status"
handleConfirm={() => handleChangeStatus(record.id, record.status)}
fieldNames="state"
handleConfirm={() => handleChangeStatus(record.id, record.state)}
record={record}
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