From c98e45bfac25e9110ad0383faac54a54d98ea9d5 Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期四, 18 十一月 2021 20:47:04 +0800
Subject: [PATCH] 2021-11-18

---
 src/components/normalform/modalform/mkRadio/index.jsx |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/src/components/normalform/modalform/mkRadio/index.jsx b/src/components/normalform/modalform/mkRadio/index.jsx
index aab46a3..212df13 100644
--- a/src/components/normalform/modalform/mkRadio/index.jsx
+++ b/src/components/normalform/modalform/mkRadio/index.jsx
@@ -4,7 +4,6 @@
 import { Radio } from 'antd'
 
 import MKEmitter from '@/utils/events.js'
-import './index.scss'
 
 class MKRadio extends Component {
   static propTpyes = {
@@ -84,8 +83,8 @@
     const { value, options } = this.state
 
     return (
-      <Radio.Group value={value} onChange={this.onChange}>
-        {options.map(option => <Radio key={option.value} value={option.value}>{option.label}</Radio>)}
+      <Radio.Group style={{whiteSpace: 'nowrap'}} 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