Skip to content

Commit

Permalink
fix(projects): add duration of login success notification
Browse files Browse the repository at this point in the history
  • Loading branch information
honghuangdc committed Jan 15, 2024
1 parent bac1632 commit 1335d47
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/store/modules/auth/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,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
});
}
}
Expand Down

0 comments on commit 1335d47

Please sign in to comment.