Skip to content

Commit

Permalink
fix: change add node message (bestchains#78)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jandiasnow committed Mar 10, 2023
1 parent bbadd4d commit 7f6aafb
Show file tree
Hide file tree
Showing 4 changed files with 1,015 additions and 971 deletions.
2 changes: 1 addition & 1 deletion src/pages/NetworkChannelDetail/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ class NetworkChannelDetail$$Page extends React.Component {
actions={[]}
bordered={false}
hoverable={false}
loading={false}
loading={__$$eval(() => this.props.useGetChannel?.loading)}
size="default"
style={{ height: '250px' }}
type="default"
Expand Down
37 changes: 32 additions & 5 deletions src/pages/NetworkContractDetail/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,9 @@ class NetworkContractDetail$$Page extends React.Component {
actions={[]}
bordered={false}
hoverable={false}
loading={false}
loading={__$$eval(
() => this.props.useGetChaincodebuild?.loading
)}
size="default"
style={{ height: '300px' }}
type="default"
Expand Down Expand Up @@ -116,7 +118,11 @@ class NetworkContractDetail$$Page extends React.Component {
strong={false}
style={{ fontSize: '' }}
>
text
{__$$eval(
() =>
this.props.useGetChaincodebuild?.data
?.chaincodebuild?.name
)}
</Typography.Text>
),
key: '9qhq7vaoun',
Expand All @@ -132,7 +138,11 @@ class NetworkContractDetail$$Page extends React.Component {
strong={false}
style={{ fontSize: '' }}
>
text
{__$$eval(
() =>
this.props.useGetChaincodebuild?.data
?.chaincodebuild?.version
)}
</Typography.Text>
),
key: 'pvlb9npuf1',
Expand All @@ -145,7 +155,11 @@ class NetworkContractDetail$$Page extends React.Component {
__component_name="Typography.Time"
format=""
relativeTime={false}
time=""
time={__$$eval(
() =>
this.props.useGetChaincodebuild?.data
?.chaincodebuild?.creationTimestamp
)}
/>
),
key: '3fvfujee7p7',
Expand Down Expand Up @@ -178,7 +192,11 @@ class NetworkContractDetail$$Page extends React.Component {
strong={false}
style={{ fontSize: '' }}
>
text
{__$$eval(
() =>
this.props.useGetChaincodebuild?.data
?.chaincodebuild?.initiator
)}
</Typography.Text>
),
key: 'zvaiq32eosn',
Expand Down Expand Up @@ -364,6 +382,9 @@ class NetworkContractDetail$$Page extends React.Component {
{ title: this.i18n('i18n-6uzygunv') /* 合约日志 */ },
]}
dataSource={__$$eval(() => [{}])}
loading={__$$eval(
() => this.props.useGetChaincodebuild?.loading
)}
pagination={false}
rowKey="id"
scroll={{ scrollToFirstRowOnChange: true, y: 180 }}
Expand Down Expand Up @@ -447,6 +468,9 @@ class NetworkContractDetail$$Page extends React.Component {
this.props.useGetChaincodebuild?.data
?.chaincodebuild?.organizations || []
)}
loading={__$$eval(
() => this.props.useGetChaincodebuild?.loading
)}
pagination={false}
rowKey="id"
scroll={{ scrollToFirstRowOnChange: true, y: 180 }}
Expand Down Expand Up @@ -523,6 +547,9 @@ class NetworkContractDetail$$Page extends React.Component {
this.props.useGetChaincodebuild?.data
?.chaincodebuild?.channels || []
)}
loading={__$$eval(
() => this.props.useGetChaincodebuild?.loading
)}
pagination={false}
rowKey="id"
scroll={{ scrollToFirstRowOnChange: true, y: 180 }}
Expand Down
Loading

0 comments on commit 7f6aafb

Please sign in to comment.