From 6ee39b26a9efdad63f862d75e9c19b35b5b53868 Mon Sep 17 00:00:00 2001 From: zy410419243 Date: Wed, 5 Dec 2018 16:14:04 +0800 Subject: [PATCH] pref: fix codecov problem --- components/input/Password.tsx | 23 +---------------------- 1 file changed, 1 insertion(+), 22 deletions(-) diff --git a/components/input/Password.tsx b/components/input/Password.tsx index 2bdd858acf..8f5e8b50de 100644 --- a/components/input/Password.tsx +++ b/components/input/Password.tsx @@ -28,23 +28,7 @@ export default class Password extends React.Component { - this.input = node; - } - onChange = () => { - this.input.blur(); - this.setState({ visible: !this.state.visible, }); @@ -53,10 +37,7 @@ export default class Password extends React.Component ); }