From 5c8860f3cd8921e7eb0da7749628e9dc669b3203 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期二, 17 三月 2020 10:19:16 +0800 Subject: [PATCH] 2020-03-17 --- src/views/login/index.jsx | 13 ++----------- 1 files changed, 2 insertions(+), 11 deletions(-) diff --git a/src/views/login/index.jsx b/src/views/login/index.jsx index e226e96..259edc4 100644 --- a/src/views/login/index.jsx +++ b/src/views/login/index.jsx @@ -13,7 +13,7 @@ import './index.scss' const LoginForm = asyncComponent(() => import('./loginform')) -const Action = asyncComponent(() => import('@/tabviews/tableshare/actionList')) +// const Action = asyncComponent(() => import('@/tabviews/tableshare/actionList')) const iszhCN = !localStorage.getItem('lang') || localStorage.getItem('lang') === 'zh-CN' class Login extends Component { @@ -57,9 +57,6 @@ async loginsubmit (param) { // 鐧诲綍鎻愪氦 - // let password = this.md5Password(param.password) - // let result = await Api.loginsystem(param.username, param.password) - // if (!result.IsError) { let res = await Api.getusermsg(param.username, param.password) if (res.status) { sessionStorage.setItem('UserID', res.UserID) @@ -90,12 +87,6 @@ isDisabled: false }) } - // } else { - // message.warning(result.Message) - // this.setState({ - // isDisabled: false - // }) - // } } componentDidMount () { @@ -164,7 +155,7 @@ } <p dangerouslySetInnerHTML={{ __html: this.state.ICP.replace(/\s/ig, ' ') }}></p> </div> - {this.state.loaded ? <div style={{position: 'fixed', bottom: '-1000px'}}><Action setting={{}} actions={[]} /></div> : null } + {/* {this.state.loaded ? <div style={{position: 'fixed', bottom: '-1000px'}}><Action setting={{}} actions={[]} /></div> : null } */} </div> ) } -- Gitblit v1.8.0