From bf292de8879e2ce71696cb3ddc4dc8fa88d91a20 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期五, 10 六月 2022 16:51:22 +0800 Subject: [PATCH] 2022-06-10 --- src/components/normalform/modalform/mkRadio/index.jsx | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/normalform/modalform/mkRadio/index.jsx b/src/components/normalform/modalform/mkRadio/index.jsx index 212df13..088ed0e 100644 --- a/src/components/normalform/modalform/mkRadio/index.jsx +++ b/src/components/normalform/modalform/mkRadio/index.jsx @@ -80,10 +80,10 @@ } render() { - const { value, options } = this.state + const { value, options, config } = this.state return ( - <Radio.Group style={{whiteSpace: 'nowrap'}} value={value} onChange={this.onChange}> + <Radio.Group style={{whiteSpace: 'nowrap'}} disabled={config.disabled} value={value} onChange={this.onChange}> {options.map(option => <Radio key={option.value} disabled={option.disabled} value={option.value}>{option.label}</Radio>)} </Radio.Group> ) -- Gitblit v1.8.0