我'm using the angular-oauth2-oidc package and IdentityServer3. I'm使用我的网络应用程序中angular-oauth2-oidc包中的自动刷新选项 . 当刷新发生时,我现在在我的详细页面上编辑数据,当刷新发生时,我会突然转回主视图 . 由于我使用基于散列的路由样式,我得到类似“http://myApp/#/detailView/id123456 " when inside my detail view. How do I handle this? I want, at least, stay on the detailView when the refresh occurs and optimum, keep all changed data on the form. I'm missing the "如何”方法来处理这种情况 .

在此先感谢... Marco ...