From 6467e4115c5284a15f393e3dd2ffb07ebd2a96d6 Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期一, 28 十二月 2020 18:31:48 +0800
Subject: [PATCH] 2020-12-28

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

diff --git a/src/tabviews/zshare/mutilform/customSwitch/index.jsx b/src/tabviews/zshare/mutilform/customSwitch/index.jsx
index 4c8d573..4a3c83a 100644
--- a/src/tabviews/zshare/mutilform/customSwitch/index.jsx
+++ b/src/tabviews/zshare/mutilform/customSwitch/index.jsx
@@ -33,10 +33,11 @@
   }
 
   render() {
+    const { Item } = this.props
     const { defaultChecked } = this.state
 
     return (
-      <Switch defaultChecked={defaultChecked} onChange={this.onChange}/>
+      <Switch checkedChildren={Item.openText || ''} unCheckedChildren={Item.closeText || ''} defaultChecked={defaultChecked} onChange={this.onChange}/>
     )
   }
 }

--
Gitblit v1.8.0