From 66f603266cafd19cdb14598bf7c2999f38c9406c Mon Sep 17 00:00:00 2001 From: liangping <18786721@qq.com> Date: Wed, 21 Jun 2023 12:54:42 +0800 Subject: [PATCH] fix page number --- src/modules/[chain]/ibc/connection/[connection_id].vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/modules/[chain]/ibc/connection/[connection_id].vue b/src/modules/[chain]/ibc/connection/[connection_id].vue index 218f3c51..1689a6f5 100644 --- a/src/modules/[chain]/ibc/connection/[connection_id].vue +++ b/src/modules/[chain]/ibc/connection/[connection_id].vue @@ -53,9 +53,9 @@ function loadChannel(channel: string, port: string) { function pageload(pageNum: number) { if (direction.value === 'In') { - fetchSendingTxs(channel_id.value, port_id.value, pageNum) + fetchSendingTxs(channel_id.value, port_id.value, pageNum -1) } else { - fetchSendingTxs(channel_id.value, port_id.value, pageNum) + fetchSendingTxs(channel_id.value, port_id.value, pageNum -1) } }