Commit 08b94e0e authored by XieZhiXiong's avatar XieZhiXiong

fix: 添加数据为空的展示

parent 3fd6b643
......@@ -10,6 +10,7 @@ import {
Modal,
Spin,
message,
Empty,
} from 'antd';
import { createFormActions, FormEffectHooks } from '@formily/antd';
import lodash from 'lodash';
......@@ -503,6 +504,7 @@ class IntroduceRow extends React.Component<IntroduceRowProps, IntroduceRowState>
<Spin spinning={billInfoLoading}>
{!visibleRecord ? (
<>
{!billInfoLoading && billInfo && (<>
<Row
gutter={100}
align="middle"
......@@ -565,6 +567,10 @@ class IntroduceRow extends React.Component<IntroduceRowProps, IntroduceRowState>
</Col>
</Row>
</div>
</>)}
{!billInfoLoading && !billInfo && (
<Empty style={{ marginTop: 80 }} />
)}
</>
) : (
<TradeRecord fetchRecordList={this.getRecordList} ref={node => this.tradeRecordRef = node} />
......
......@@ -116,8 +116,6 @@ const RefundModal: React.FC<RefundModalProps> = (props) => {
});
createEffects($, actions);
console.log('123')
useAsyncSelect('tradeChannel', getPayChannels, ['label', 'value']);
}}
expressionScope={{
......
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