From 32b37f16c7bcc1004e609669ee4e74329c4f2a4d Mon Sep 17 00:00:00 2001 From: liangping <18786721@qq.com> Date: Mon, 19 Jun 2023 21:33:50 +0800 Subject: [PATCH] add version compatible implementation --- src/components/PaginationBar.vue | 2 +- src/components/ProposalListItem.vue | 2 + src/libs/client.ts | 31 +++++++++-- src/libs/{custom_api => clients}/evmos.ts | 8 ++- src/libs/clients/v0.46.0.ts | 67 +++++++++++++++++++++++ src/libs/registry.ts | 18 +++--- src/stores/useDashboard.ts | 3 + tsconfig.json | 2 +- 8 files changed, 115 insertions(+), 18 deletions(-) rename src/libs/{custom_api => clients}/evmos.ts (55%) create mode 100644 src/libs/clients/v0.46.0.ts diff --git a/src/components/PaginationBar.vue b/src/components/PaginationBar.vue index 791574e5..11e714cb 100644 --- a/src/components/PaginationBar.vue +++ b/src/components/PaginationBar.vue @@ -37,7 +37,7 @@ function gotoPage(pageNum: number) {