Skip to content

Commit

Permalink
spin
Browse files Browse the repository at this point in the history
  • Loading branch information
zuiidea committed Nov 7, 2016
1 parent c45d6c9 commit dce274a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/layout/main.less
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@
}

.spin {
& ~:global.ant-spin-container {
:global .ant-spin-container {
height: 100vh;
}
}
2 changes: 1 addition & 1 deletion src/routes/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ function App({children, location, dispatch, app}) {
<Footer/>
</div>
</div>
: <Spin tip="加载用户信息..." className={styles.spin} spinning={loading} size="large"><Login {...loginProps}/></Spin>}</div>
: <div className={styles.spin}><Spin tip="加载用户信息..." spinning={loading} size="large"><Login {...loginProps}/></Spin></div>}</div>
)
}

Expand Down

0 comments on commit dce274a

Please sign in to comment.