From 432b788acf901b0720184b8ee8bc81a2e6fa47e0 Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期二, 28 九月 2021 18:22:02 +0800
Subject: [PATCH] 2021-09-28

---
 src/tabviews/zshare/mutilform/mkCheckbox/index.jsx |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)

diff --git a/src/tabviews/zshare/mutilform/mkCheckbox/index.jsx b/src/tabviews/zshare/mutilform/mkCheckbox/index.jsx
index 494719d..5742e0b 100644
--- a/src/tabviews/zshare/mutilform/mkCheckbox/index.jsx
+++ b/src/tabviews/zshare/mutilform/mkCheckbox/index.jsx
@@ -2,8 +2,6 @@
 import PropTypes from 'prop-types'
 import { Checkbox } from 'antd'
 
-import './index.scss'
-
 class MKCheckbox extends Component {
   static propTpyes = {
     config: PropTypes.object,
@@ -30,7 +28,7 @@
 
     return (
       <Checkbox.Group defaultValue={defaultValue} disabled={config.readonly} onChange={this.onChange}>
-        {config.options.map(option => <Checkbox key={option.key} title={option.label} value={option.value}>{option.label}</Checkbox>)}
+        {config.options.map(option => <Checkbox key={option.key} title={option.label} disabled={option.$disabled} value={option.value}>{option.label}</Checkbox>)}
       </Checkbox.Group>
     )
   }

--
Gitblit v1.8.0