From bd06958321afa706f32287c71bd219eb0622c86c Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期二, 10 十二月 2019 16:31:45 +0800
Subject: [PATCH] 2019-12-10

---
 src/components/header/index.jsx |   11 +----------
 1 files changed, 1 insertions(+), 10 deletions(-)

diff --git a/src/components/header/index.jsx b/src/components/header/index.jsx
index d1ccdb7..5ab8f48 100644
--- a/src/components/header/index.jsx
+++ b/src/components/header/index.jsx
@@ -108,15 +108,6 @@
         sessionStorage.clear()
         _this.props.logout()
         _this.props.history.replace('/login')
-        // return Api.logoutsystem().then(res => {
-        //   if (res.status) {
-        //     sessionStorage.removeItem('UserID')
-        //     _this.props.resetState()
-        //     _this.props.history.replace('/login')
-        //   } else {
-        //     message.warning(res.message)
-        //   }
-        // })
       },
       onCancel() {}
     })
@@ -240,7 +231,7 @@
           {this.state.dict['header.edit']}
           <Switch size="small" className="edit-switch" disabled={!!this.props.editLevel} onChange={this.changeEditState} />
         </Menu.Item>}
-        <Menu.Item key="1" onClick={this.changePassword}>{this.state.dict['header.password']}</Menu.Item>
+        {/* <Menu.Item key="1" onClick={this.changePassword}>{this.state.dict['header.password']}</Menu.Item> */}
         <Menu.Item key="2" onClick={this.logout}>{this.state.dict['header.logout']}</Menu.Item>
       </Menu>
     )

--
Gitblit v1.8.0