mirror of
https://github.com/zuiidea/antd-admin
synced 2026-11-11 23:44:27 +00:00
6666
This commit is contained in:
@@ -64,15 +64,6 @@ class Login extends React.Component {
|
||||
render() {
|
||||
return (
|
||||
<div>
|
||||
{/*debug模式下显示fork me on github*/}
|
||||
{globalConfig.debug &&
|
||||
<a href="https://github.com/jiangxy/react-antd-admin">
|
||||
<img style={{position: 'absolute', top: 0, right: 0, border: 0}}
|
||||
src="https://camo.githubusercontent.com/652c5b9acfaddf3a9c326fa6bde407b87f7be0f4/68747470733a2f2f73332e616d617a6f6e6177732e636f6d2f6769746875622f726962626f6e732f666f726b6d655f72696768745f6f72616e67655f6666373630302e706e67"
|
||||
alt="Fork me on GitHub"
|
||||
data-canonical-src="https://s3.amazonaws.com/github/ribbons/forkme_right_orange_ff7600.png"/>
|
||||
</a>}
|
||||
|
||||
<div className="login">
|
||||
<h1>{globalConfig.name}</h1>
|
||||
<form onSubmit={this.handleSubmit}>
|
||||
@@ -81,11 +72,9 @@ class Login extends React.Component {
|
||||
<button ref="button" type="submit" className="btn btn-primary btn-block btn-large">登录</button>
|
||||
</form>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
export default Login;
|
||||
|
||||
Reference in New Issue
Block a user