From 33e9b47882dbe81ec4c3f0af2ba8d9436a297616 Mon Sep 17 00:00:00 2001 From: "Dennisic\\Chen" Date: Fri, 24 Nov 2023 16:41:23 +0800 Subject: [PATCH] feat: find wallet bug --- src/components/Wallets.vue | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/components/Wallets.vue b/src/components/Wallets.vue index 72b81007..4b333637 100644 --- a/src/components/Wallets.vue +++ b/src/components/Wallets.vue @@ -163,7 +163,10 @@ const onClickDisconnect = async () => { } watch(() => connectedWallet.value, (newVal, oldVal) => { - if (newVal && newVal !== oldVal) { + console.log(11111111111,connectedWallet.value) + console.log(22222,newVal,33333,oldVal) + // debugger + if (newVal) { console.info("start init") const provider = newVal.provider; const network = newVal.chains[0].id;