Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
JDChain
Explorer
提交
079fbff8
E
Explorer
项目概览
JDChain
/
Explorer
通知
0
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
E
Explorer
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
提交
079fbff8
编写于
11月 24, 2020
作者:
J
jinlong12
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
repair jira-562
上级
43813b69
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
51 addition
and
34 deletion
+51
-34
data-explorer/src/web/components/accountInfo/accountInfo.t.html
...xplorer/src/web/components/accountInfo/accountInfo.t.html
+21
-7
data-explorer/src/web/pages/account/account.js
data-explorer/src/web/pages/account/account.js
+15
-14
data-explorer/src/web/pages/contract/contract.js
data-explorer/src/web/pages/contract/contract.js
+15
-13
未找到文件。
data-explorer/src/web/components/accountInfo/accountInfo.t.html
浏览文件 @
079fbff8
...
...
@@ -2,11 +2,11 @@
<h3>
数据详情
</h3>
<div
class=
"{styles.info}"
>
<fj-Row
class=
"{styles.gl}"
>
<fj-Col
l=
1
s=
4
xs=
12
>
数据账户
根哈希
<fj-Col
l=
1
s=
4
xs=
12
>
头
根哈希
</fj-Col>
<fj-Col
l=
5
s=
8
xs=
12
>
<
#if
{{
accountData
&&
accountData.
rootHash
&&
accountData.r
ootHash
}}
>
{accountData.
r
ootHash}
<
#if
{{
accountData
&&
accountData.
headerRootHash
&&
accountData.headerR
ootHash
}}
>
{accountData.
headerR
ootHash}
<
#elseif
{{
accountData
&&
accountData.address
&&
accountData.address.value
}}
>
<AccountRootHash
address=
{accountData.address.value}/
>
</
#
elseif>
...
...
@@ -15,17 +15,31 @@
</
#
else>
</
#
if>
</fj-Col>
<fj-Col
l=
1
s=
4
xs=
12
>
数据账户地址
<fj-Col
l=
1
s=
4
xs=
12
>
数据根哈希
</fj-Col>
<fj-Col
l=
5
s=
8
xs=
12
>
<
#if
{{
accountData
&&
accountData.dataRootHash
&&
accountData.dataRootHash
}}
>
{accountData.dataRootHash}
<
#elseif
{{
accountData
&&
accountData.address
&&
accountData.address.value
}}
>
<AccountRootHash
address=
{accountData.address.value}/
>
</
#
elseif>
<
#else
>
''
</
#
else>
</
#
if>
</fj-Col>
<fj-Col
l=
1
s=
4
xs=
12
>
数据账户地址
</fj-Col>
<fj-Col
l=
5
s=
8
xs=
12
>
{accountData
&&
accountData.address
&&
accountData.address.value || ''}
</fj-Col>
</fj-Row>
<fj-Row
class=
"{styles.gl}"
>
<fj-Col
l=
1
s=
4
xs=
12
>
数据账户公钥
</fj-Col>
<fj-Col
l=
5
s=
8
xs=
12
>
{accountData
&&
accountData.pubKey
&&
accountData.pubKey || ''}
</fj-Col>
<fj-Col
l=
1
s=
4
xs=
12
>
KV数量
</fj-Row>
<fj-Row
class=
"{styles.gl}"
>
<fj-Col
l=
1
s=
4
xs=
12
>
KV数量
</fj-Col>
<fj-Col
l=
5
s=
8
xs=
12
><KvCount
address=
{accountData.address.value}
key=
{accountData.address.value}
/>
</fj-Col>
...
...
data-explorer/src/web/pages/account/account.js
浏览文件 @
079fbff8
...
...
@@ -176,20 +176,21 @@ export default class Account extends Component {
render
:
(
text
,
record
,
index
)
=>
nj
`
${
text
}
<br/>算法:
${
tranBase58
(
text
)}
`
()
},
{
title
:
'
默克尔树根哈希
'
,
dataIndex
:
'
rootHash
'
,
key
:
'
rootHash
'
,
width
:
'
25%
'
,
render
:
(
text
,
record
,
index
)
=>
nj
`
<#if
${
text
}
>
${
text
}
<#else>
<AccountRootHash address=
${
record
.
address
}
/>
</#else>
</#if>
`
()
},
},
// {
// title: '默克尔树根哈希',
// dataIndex: 'rootHash',
// key: 'rootHash',
// width: '25%',
// render: (text, record, index) => nj`
// <#if ${text}>
// ${text}
// <#else>
// <AccountRootHash address=${record.address}/>
// </#else>
// </#if>
// `()
// },
{
title
:
'
KV
'
,
dataIndex
:
'
address.value
'
,
...
...
data-explorer/src/web/pages/contract/contract.js
浏览文件 @
079fbff8
...
...
@@ -131,19 +131,21 @@ export default class Contract extends Component {
render
:
(
text
,
record
,
index
)
=>
nj
`
${
text
}
<br/>算法:
${
tranBase58
(
text
)}
`
()
},
{
title
:
'
合约根哈希
'
,
dataIndex
:
'
rootHash
'
,
key
:
'
rootHash
'
,
render
:
(
text
,
record
,
index
)
=>
nj
`
<#if
${
text
}
>
${
text
}
<#else>
<ContractsRootHash address=
${
record
.
address
.
value
}
/>
</#else>
</#if>
`
()
},{
},
// {
// title: '合约根哈希',
// dataIndex: 'rootHash',
// key:'rootHash',
// render: (text, record, index) => nj `
// <#if ${text}>
// ${text}
// <#else>
// <ContractsRootHash address=${record.address.value}/>
// </#else>
// </#if>
// `()
// },
{
title
:
'
操作
'
,
dataIndex
:
'
address.value
'
,
key
:
'
chainCode
'
,
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录