From e60d7b5cf5f411b7270e3383d7166e9957bab1a9 Mon Sep 17 00:00:00 2001 From: liangping <18786721@qq.com> Date: Fri, 17 Feb 2023 09:34:49 +0800 Subject: [PATCH] add balance cache --- .../dashboard/src/components/ChainSummary.vue | 9 +-- .../src/layouts/components/ChainProfile.vue | 10 +-- packages/dashboard/src/pages/index.vue | 7 +- packages/dashboard/src/stores/useBank.ts | 8 +- packages/dashboard/src/stores/useBankStore.ts | 44 ++++++++--- .../dashboard/src/stores/useBlockchain.ts | 9 +-- packages/dashboard/src/stores/useDashboard.ts | 73 ++++++++++++++++--- 7 files changed, 114 insertions(+), 46 deletions(-) diff --git a/packages/dashboard/src/components/ChainSummary.vue b/packages/dashboard/src/components/ChainSummary.vue index 46f9a512..63e5161d 100644 --- a/packages/dashboard/src/components/ChainSummary.vue +++ b/packages/dashboard/src/components/ChainSummary.vue @@ -12,9 +12,6 @@ const props = defineProps({ const dashboardStore = useDashboard() const conf = computed(()=> dashboardStore.chains[props.name] || {}) -const logoPath = computed(() => { - return getLogo(conf.value.logo_URIs) -}) diff --git a/packages/dashboard/src/pages/index.vue b/packages/dashboard/src/pages/index.vue index 3ff74cab..d9f6629b 100644 --- a/packages/dashboard/src/pages/index.vue +++ b/packages/dashboard/src/pages/index.vue @@ -1,8 +1,7 @@