From ef3599e9cabe8b5db0fe6382fc12059b3d5a7a2e Mon Sep 17 00:00:00 2001 From: liangping <18786721@qq.com> Date: Sat, 20 May 2023 16:04:54 +0800 Subject: [PATCH] fix events --- src/layouts/components/ChainProfile.vue | 5 ----- src/layouts/components/DefaultLayout.vue | 2 +- src/modules/[chain]/index.vue | 2 +- src/modules/[chain]/widget/index.vue | 2 +- src/stores/useTxDialog.ts | 2 ++ 5 files changed, 5 insertions(+), 8 deletions(-) diff --git a/src/layouts/components/ChainProfile.vue b/src/layouts/components/ChainProfile.vue index 617b3bdd..b5eb4806 100644 --- a/src/layouts/components/ChainProfile.vue +++ b/src/layouts/components/ChainProfile.vue @@ -3,11 +3,6 @@ import { useBlockchain, useBaseStore } from '@/stores'; const chainStore = useBlockchain(); const baseStore = useBaseStore(); chainStore.initial(); -chainStore.$subscribe((m, s) => { - if (!Array.isArray(m.events) && m.events.key === 'endpoint') { - // chainStore.initial(); - } -});