Commit bd86462f authored by chenqikuai's avatar chenqikuai

fix

parent df80375c
......@@ -19,6 +19,7 @@ export default Vue.extend({
return {
value: "",
focusedTab: "txRecord",
total1: 0,
pages: {
currentPage: 1,
pageSize: 10,
......@@ -141,7 +142,9 @@ export default Vue.extend({
this.loadingTxRecordTable = true;
getAddressTxCount(this.$route.query.address as string).then((res) => {
if (res.error === null) {
this.pages.total = res.result > 10000 ? 10000 : res.result;
this.total1 = res.result;
this.pages.total = res.result;
// this.pages.total = res.result > 10000 ? 10000 : res.result;
getAddrTxList(
this.$route.query.address as string,
this.pages.currentPage,
......
......@@ -19,6 +19,10 @@
:tabList="tabList"
></m-tabs>
<div v-if="focusedTab === 'txRecord'">
<!-- <div class="bg-white text-text-color pl-3.5"> -->
<!-- {{ $t('lang.trade.txTotal', [total1]) }} -->
<!-- ({{ $t('lang.trade.tip2') }}) -->
<!-- </div> -->
<m-tx-item
v-for="(n, i) in txRecordList"
:style="{
......@@ -67,6 +71,7 @@
v-if="focusedTab === 'txRecord'"
@pageChange="pageChange"
@sizeChange="sizeChange"
:simple="false"
:currentPage="pages.currentPage"
:pageSize="pages.pageSize"
:total="pages.total"
......@@ -76,6 +81,7 @@
v-if="focusedTab === 'votingRecord'"
@pageChange="pageChange2"
@sizeChange="sizeChange2"
:simple="false"
:currentPage="pages2.currentPage"
:pageSize="pages2.pageSize"
:total="pages2.total"
......@@ -85,6 +91,7 @@
v-if="focusedTab === 'packingRecord'"
@pageChange="pageChange3"
@sizeChange="sizeChange3"
:simple="false"
:currentPage="pages3.currentPage"
:pageSize="pages3.pageSize"
:total="pages3.total"
......
......@@ -33,8 +33,8 @@
:value="selectedOption"
>
<template #left>
{{ $t('lang.trade.txTotal', [pages.total]) }}
({{ $t('lang.trade.tip') }})
{{ $t('lang.trade.txTotal', [total1]) }}
<!-- ({{ $t('lang.trade.tip2') }}) -->
</template>
</DataFilter>
<TradeTable2
......
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