mirror of
https://github.com/soybeanjs/soybean-admin.git
synced 2025-09-23 20:06:37 +08:00
fix(projects): add duration of login success notification
This commit is contained in:
parent
bac1632457
commit
1335d47ae8
@ -58,7 +58,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
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user