Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
ycc-website
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Website
ycc-website
Commits
d45c7d9f
Commit
d45c7d9f
authored
Feb 28, 2022
by
chenqikuai
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
4e516143
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
index.vue
src/components/pc/BlockChainBrowser/ChainOverview/index.vue
+1
-1
blockChainBrowser.ts
src/mixin/blockChainBrowser.ts
+2
-2
No files found.
src/components/pc/BlockChainBrowser/ChainOverview/index.vue
View file @
d45c7d9f
<
template
>
<div
class=
"
container
flex justify-between"
>
<div
class=
"flex justify-between"
>
<chain-card-show-price
:quoteChange=
"quoteChange"
:price=
"price"
...
...
src/mixin/blockChainBrowser.ts
View file @
d45c7d9f
...
...
@@ -69,7 +69,7 @@ export default Vue.extend({
.
unix
()
).
then
((
res
)
=>
{
if
(
res
.
error
===
null
)
{
this
.
tps
=
Number
((
(
res
.
result
/
24
)
*
60
*
60
).
toFixed
(
2
));
this
.
tps
=
Number
((
res
.
result
/
(
24
*
60
*
60
)
).
toFixed
(
2
));
}
});
},
...
...
@@ -113,7 +113,7 @@ export default Vue.extend({
// const perTxCount =
// (lastBlock.tx_count - fatherBlock.tx_count) /
// (lastBlock.time - fatherBlock.time);
this
.
speed
=
perTime
;
this
.
speed
=
Number
(
perTime
.
toFixed
(
2
))
;
}
});
},
...
...
chenqikuai
@chenqikuai
mentioned in commit
748f7ae1
·
Mar 03, 2022
mentioned in commit
748f7ae1
mentioned in commit 748f7ae18ac2f8eb14ee7c2865eaea786342a520
Toggle commit list
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment