在dojo里面没有jquery里面的show(), hide() API. dojo里面提供了domStyle模块,可以达到同样效果。 隐藏一个对象:require(["dojo/dom-style"], function(domStyle){