Skip to content

Commit

Permalink
fix(projects): notification add auto close
Browse files Browse the repository at this point in the history
  • Loading branch information
honghuangdc committed Nov 10, 2023
1 parent 16bca45 commit 2cfcb44
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/store/modules/auth/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,7 @@ export const useAuthStore = defineStore(SetupStoreId.Auth, () => {
if (routeStore.isInitAuthRoute) {
window.$notification?.success({
message: $t('page.login.common.loginSuccess'),
description: $t('page.login.common.welcomeBack', { userName: userInfo.userName }),
duration: 3000
description: $t('page.login.common.welcomeBack', { userName: userInfo.userName })
});
}
} catch {
Expand Down

0 comments on commit 2cfcb44

Please sign in to comment.