Merge pull request #294 from Azir-11/v1.0-beta

fix(projects): Fix welcome notification not closing
This commit is contained in:
Soybean
2024-01-11 12:53:15 +08:00
committed by GitHub

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 {