From 0245e64a9dff794903e546c3bdf9fef7efeefdf1 Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期二, 06 十二月 2022 16:09:04 +0800
Subject: [PATCH] Merge branch 'master' into positec

---
 src/tabviews/custom/components/table/edit-table/normalTable/cusSwitch/index.jsx |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/src/tabviews/custom/components/table/edit-table/normalTable/cusSwitch/index.jsx b/src/tabviews/custom/components/table/edit-table/normalTable/cusSwitch/index.jsx
index 82fcb96..6b16aea 100644
--- a/src/tabviews/custom/components/table/edit-table/normalTable/cusSwitch/index.jsx
+++ b/src/tabviews/custom/components/table/edit-table/normalTable/cusSwitch/index.jsx
@@ -32,7 +32,8 @@
     const { config } = this.props
     this.setState({ status: val }, () => {
       let _val = val ? config.openVal : config.closeVal
-      this.props.onChange(_val)
+      let _text = val ? config.openText : config.closeText
+      this.props.onChange(_val, _text)
     })
   }
 

--
Gitblit v1.8.0