提交 2279c329 编写于 作者: J jinlong12 提交者: imuge

event latest transactionSource

上级 740ddfcd
......@@ -1519,9 +1519,7 @@ router.get('/:ledger/events/user/accounts/:address/names/:eventName/latest', fun
Object.assign(ret, resultData, {
"data": {
"sequence": 0,// 事件序列
"transactionSource": {// 交易哈希
"value": "j5ufPaiHndQ31ieQsBNFg57zqr2DmRJS8VnJCVmEL2dYWm"
},
"transactionSource": "j5ufPaiHndQ31ieQsBNFg57zqr2DmRJS8VnJCVmEL2dYWm",
"blockHeight": 1,// 区块高度
"contractSource": "",// 合约地址
"eventAccount": {// 事件账户
......
......@@ -355,7 +355,7 @@ export default class EventInfo extends Component {
<Col span={10} xs={24} sm={16} lg={10}>{latest.name && latest.name || ''}</Col>
<Col span={2} xs={24} sm={8} lg={2}>交易哈希:</Col>
<Col span={10} xs={24} sm={16} lg={10}>{latest.transactionSource && latest.transactionSource.value && latest.transactionSource.value || ''}</Col>
<Col span={10} xs={24} sm={16} lg={10}>{latest.transactionSource && latest.transactionSource || ''}</Col>
<Col span={2} xs={24} sm={8} lg={2}>区块高度:</Col>
<Col span={10} xs={24} sm={16} lg={10}>{latest.blockHeight && latest.blockHeight || 0}</Col>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册