fix page number

This commit is contained in:
liangping 2023-06-21 12:54:42 +08:00
parent c6e53ac6df
commit 66f603266c

View File

@ -53,9 +53,9 @@ function loadChannel(channel: string, port: string) {
function pageload(pageNum: number) { function pageload(pageNum: number) {
if (direction.value === 'In') { if (direction.value === 'In') {
fetchSendingTxs(channel_id.value, port_id.value, pageNum) fetchSendingTxs(channel_id.value, port_id.value, pageNum -1)
} else { } else {
fetchSendingTxs(channel_id.value, port_id.value, pageNum) fetchSendingTxs(channel_id.value, port_id.value, pageNum -1)
} }
} }