Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我如何知道当前视图。意思是,基本上我想要的是当我向后导航时,我想要获得当前视图。提前致谢。
尝试如下所示的 navigationView 的 getActiveItem() 方法
var currentActiveItem = navigationViewObj.getActiveItem();