From 258aa891306e33eff601262e238ae3c5a5e7eeb0 Mon Sep 17 00:00:00 2001 From: liangping <18786721@qq.com> Date: Sat, 17 Jun 2023 19:49:08 +0800 Subject: [PATCH] improve importing address --- src/modules/wallet/accounts.vue | 25 +++++++++++++------------ 1 file changed, 13 insertions(+), 12 deletions(-) diff --git a/src/modules/wallet/accounts.vue b/src/modules/wallet/accounts.vue index ddefbadb..47b8f02e 100644 --- a/src/modules/wallet/accounts.vue +++ b/src/modules/wallet/accounts.vue @@ -16,12 +16,9 @@ import { const dashboard = useDashboard(); const chainStore = useBlockchain() const format = useFormatter(); -const editable = ref(false); // to edit addresses const sourceAddress = ref(''); // const selectedSource = ref({} as LocalKey); // -function toggleEdit() { - editable.value = !editable.value; -} +const importStep = ref('step1') const conf = ref( JSON.parse(localStorage.getItem('imported-addresses') || '{}') as Record< @@ -363,10 +360,10 @@ async function loadBalances(endpoint: string, address: string) {