mirror of
https://github.com/zuiidea/antd-admin
synced 2026-10-30 13:23:49 +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;
|
||||
|
||||
+2
-2
@@ -7,8 +7,8 @@
|
||||
// 遵循统一的规范, 好维护, 交给其他人也比较简单
|
||||
|
||||
module.exports = {
|
||||
name: 'OOXX管理后台', // 项目的名字
|
||||
footer: 'xxx版权所有 © 2015-2099', // footer中显示的字
|
||||
name: 'Antd管理后台', // 项目的名字
|
||||
footer: 'Antd版权所有 © 2016', // footer中显示的字
|
||||
|
||||
debug: true, // 是否开启debug模式, 不会请求后端接口, 使用mock的数据
|
||||
logLevel: 'info', // 日志级别, 目前支持debug/info/warn/error 4种级别
|
||||
|
||||
Reference in New Issue
Block a user