mirror of
https://github.com/m-xlsea/ruoyi-plus-soybean.git
synced 2025-09-24 07:49:47 +08:00
fix(projects): Fix welcome notification not closing
This commit is contained in:
@ -57,7 +57,8 @@ export const useAuthStore = defineStore(SetupStoreId.Auth, () => {
|
|||||||
if (routeStore.isInitAuthRoute) {
|
if (routeStore.isInitAuthRoute) {
|
||||||
window.$notification?.success({
|
window.$notification?.success({
|
||||||
title: $t('page.login.common.loginSuccess'),
|
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 {
|
} catch {
|
||||||
|
Reference in New Issue
Block a user