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.
当我单击列表项视图时,会添加两次。问题是我必须单击返回按钮两次才能返回同一页面。任何人都知道什么是确切的问题。如果可能,提供一些参考代码。
嗨,我遇到了同样的问题,使用下面的代码可以解决您的问题。
if (this.getNavigationView().getActiveItem().xtype != "viewName") { this.getNavigationView().push({ xtype: "viewName" }); }
祝你好运..