Skip to content

Commit 748cfa2

Browse files
authored
fix(projects): Fix welcome notification not closing
1 parent d778560 commit 748cfa2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/store/modules/auth/index.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,8 @@ export const useAuthStore = defineStore(SetupStoreId.Auth, () => {
5757
if (routeStore.isInitAuthRoute) {
5858
window.$notification?.success({
5959
title: $t('page.login.common.loginSuccess'),
60-
content: $t('page.login.common.welcomeBack', { userName: userInfo.userName })
60+
content: $t('page.login.common.welcomeBack', { userName: userInfo.userName }),
61+
duration: 4500
6162
});
6263
}
6364
} catch {

0 commit comments

Comments
 (0)