From 625e92cccf8d4971c498db01651fcd7f36d7a773 Mon Sep 17 00:00:00 2001 From: AuroraHuang22 Date: Wed, 11 Sep 2024 13:40:27 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=8E=A8=20Clear=20book=20session=20on=20wa?= =?UTF-8?q?llet=20disconnect?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- store/wallet.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/store/wallet.ts b/store/wallet.ts index 3d51da32..1f2d646c 100644 --- a/store/wallet.ts +++ b/store/wallet.ts @@ -276,6 +276,8 @@ export default class Wallet extends VuexModule { this.context.commit('setLikerInfo', null) this.context.commit('setType', '') this.context.commit('setSigner', null) + this.context.dispatch('book-api/clearSession', null, { root: true }) + } get getType() {