From 4e1ff4a312e5c5655de7c2ba611bab70415f3eda Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期二, 10 三月 2020 18:20:35 +0800
Subject: [PATCH] 2020-03-10

---
 src/tabviews/tableshare/verifycard/actionform/index.jsx |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)

diff --git a/src/tabviews/tableshare/verifycard/actionform/index.jsx b/src/tabviews/tableshare/verifycard/actionform/index.jsx
index b1297b6..a3fb165 100644
--- a/src/tabviews/tableshare/verifycard/actionform/index.jsx
+++ b/src/tabviews/tableshare/verifycard/actionform/index.jsx
@@ -60,6 +60,14 @@
   shortcutChange = (value) => {
     this.setState({
       shortcut: value
+    }, () => {
+      let shortkey = this.props.form.getFieldValue('shortcutkey')
+
+      if (shortkey && ((value === 'alt' && shortkey === 65) || (value === 'ctrl' && (shortkey === 67 || shortkey === 86))) ) {
+        this.props.form.setFieldsValue({
+          shortcutkey: ''
+        })
+      }
     })
   }
 

--
Gitblit v1.8.0