Commit 846d3080 authored by Amumu's avatar Amumu Committed by 偏右

Use `submitting` from `props` (#1579)

parent 7dbd7c40
......@@ -53,7 +53,7 @@ export default class LoginPage extends Component {
<Tab key="account" tab="θ΄¦ζˆ·ε―†η η™»ε½•">
{login.status === 'error' &&
login.type === 'account' &&
!login.submitting &&
!submitting &&
this.renderMessage('θ΄¦ζˆ·ζˆ–ε―†η ι”™θ――οΌˆadmin/888888οΌ‰')}
<UserName name="userName" placeholder="admin/user" />
<Password name="password" placeholder="888888/123456" />
......@@ -61,7 +61,7 @@ export default class LoginPage extends Component {
<Tab key="mobile" tab="ζ‰‹ζœΊε·η™»ε½•">
{login.status === 'error' &&
login.type === 'mobile' &&
!login.submitting &&
!submitting &&
this.renderMessage('ιͺŒθ―η ι”™θ――')}
<Mobile name="mobile" />
<Captcha name="captcha" />
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment