From 748cfa2c624d95e9e0804ec4097fefc6b84cff1e Mon Sep 17 00:00:00 2001 From: Azir <79054161+Azir-11@users.noreply.github.com> Date: Thu, 11 Jan 2024 12:17:41 +0800 Subject: [PATCH] fix(projects): Fix welcome notification not closing --- src/store/modules/auth/index.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/store/modules/auth/index.ts b/src/store/modules/auth/index.ts index 2b8ee75e5..72d630b44 100644 --- a/src/store/modules/auth/index.ts +++ b/src/store/modules/auth/index.ts @@ -57,7 +57,8 @@ export const useAuthStore = defineStore(SetupStoreId.Auth, () => { if (routeStore.isInitAuthRoute) { window.$notification?.success({ title: $t('page.login.common.loginSuccess'), - content: $t('page.login.common.welcomeBack', { userName: userInfo.userName }) + content: $t('page.login.common.welcomeBack', { userName: userInfo.userName }), + duration: 4500 }); } } catch {