Commit d45c7d9f authored by chenqikuai's avatar chenqikuai

fix

parent 4e516143
<template>
<div class="container flex justify-between">
<div class="flex justify-between">
<chain-card-show-price
:quoteChange="quoteChange"
:price="price"
......
......@@ -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));
}
});
},
......
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