fix(projects): Fix welcome notification not closing

This commit is contained in:
Azir
2024-01-11 12:17:41 +08:00
committed by GitHub
parent d778560dbd
commit 748cfa2c62

View File

@ -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 {