mirror of
				https://github.com/soybeanjs/soybean-admin.git
				synced 2025-11-04 15:53:43 +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