From d2e104f46e6a7b653e9f57402a7237e74801d81b Mon Sep 17 00:00:00 2001 From: MickeyWang <1244134672@qq.com> Date: Mon, 19 Aug 2019 17:21:41 +0800 Subject: [PATCH] fix testnet node list pagination error --- src/renderer/components/Node/NodeAuthorize/NodeList.vue | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/renderer/components/Node/NodeAuthorize/NodeList.vue b/src/renderer/components/Node/NodeAuthorize/NodeList.vue index ea05f76..0f48755 100644 --- a/src/renderer/components/Node/NodeAuthorize/NodeList.vue +++ b/src/renderer/components/Node/NodeAuthorize/NodeList.vue @@ -216,7 +216,10 @@ export default { pageNum: this.pagination.current - 1 }).then(res => { this.requesting = false; - this.pagination.total = res; + const net = localStorage.getItem('net') + if(net !== 'TEST_NET') { + this.pagination.total = res; + } }) }, showProportionTip() {