From 21484177b6a0a607250d17d9e1a3751de172fc52 Mon Sep 17 00:00:00 2001
From: liangping <18786721@qq.com>
Date: Sat, 24 Sep 2022 07:57:13 +0800
Subject: [PATCH] add export valdiator list to excel
---
package.json | 5 +++--
src/views/ConsensusStates.vue | 20 +++++++++---------
src/views/Staking.vue | 38 ++++++++++++++++++++++++++++++++---
yarn.lock | 12 +++++++++++
4 files changed, 61 insertions(+), 14 deletions(-)
diff --git a/package.json b/package.json
index ba697a95..36170c38 100644
--- a/package.json
+++ b/package.json
@@ -25,14 +25,14 @@
"@hanchon/signature-to-pubkey": "^1.0.0",
"@intlify/vue-i18n-loader": "^2.1.2",
"@ledgerhq/hw-app-eth": "^6.28.2",
+ "@ledgerhq/hw-transport": "6.27.2",
"@ledgerhq/hw-transport-web-ble": "^6.27.1",
"@ledgerhq/hw-transport-webusb": "^6.27.1",
- "@ledgerhq/hw-transport": "6.27.2",
"@metamask/eth-sig-util": "^4.0.1",
"@tharsis/address-converter": "^0.1.8",
- "@tharsis/transactions": "^0.2.5",
"@tharsis/eip712": "0.2.4",
"@tharsis/proto": "0.1.19",
+ "@tharsis/transactions": "^0.2.5",
"@vue/composition-api": "^1.4.9",
"@vueuse/core": "4.0.0",
"animate.css": "4.1.1",
@@ -77,6 +77,7 @@
"vue-flex-waterfall": "^1.0.7",
"vue-form-wizard": "0.8.4",
"vue-i18n": "8.22.2",
+ "vue-json-excel": "^0.3.0",
"vue-loader": "^15.9.6",
"vue-markdown": "^2.2.4",
"vue-observe-visibility": "^1.0.0",
diff --git a/src/views/ConsensusStates.vue b/src/views/ConsensusStates.vue
index 442c1cf9..0fa22528 100644
--- a/src/views/ConsensusStates.vue
+++ b/src/views/ConsensusStates.vue
@@ -82,15 +82,15 @@
>
Round: {{ item.round }} {{ item.prevotes_bit_array }}