Style fix

This commit is contained in:
saplf
2019-09-03 17:57:56 +08:00
parent 8742eedac8
commit 1dc9a95835
8 changed files with 113 additions and 4 deletions

View File

@@ -1,5 +1,5 @@
import React, { useEffect } from 'react';
import { connect, DispatchProp } from 'dva';
import { connect, DispatchProp, routerRedux } from 'dva';
import { Spin, Icon } from 'antd';
import { formatMessage } from 'umi-plugin-locale';
import { HomeMineModelState } from './model';
@@ -53,7 +53,10 @@ const MinePage: React.FC<HomeMineModelState & DispatchProp> = ({
</span>
</div>
<div className="right app-btn">
<div
onClick={() => dispatch(routerRedux.push('/mine'))}
className="right app-btn"
>
{formatMessage({ id: 'home.mine.retrieve' })}
</div>
</div>