fix(projects): add duration of login success notification

This commit is contained in:
Soybean 2024-01-16 01:52:32 +08:00
parent bac1632457
commit 1335d47ae8

View File

@ -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
});
}
}