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.
如何通过单击简单按钮从工作灯中的页面 html 重定向到 DOJO 视图?
如果您要显示的 Dojo 视图是在同一个 HTML 页面中定义的,您只需获取对 View 小部件的引用并调用它的 show() 函数,如下所示:
require(["dijit/registry"], function(registry){ registry.byId("myDojoView").show(); });