在MainLayout里面设置未登录时跳转到/login,NavigationManager会在Debug模式下抛出如下错误"Microsoft.AspNetCore.Components.NavigationException: Exception of type 'Micros