var show = function() { // do some thing } var hide = function() { return function(e) { // do some thing } } // 1 on( target,"focus",lang.hitch(this,show,参数1,参数2)); // 2 on( target,"blur",hide(参数1,参数2));原文链接:https://www.f2er.com/dojo/291162.html
var show = function() { // do some thing } var hide = function() { return function(e) { // do some thing } } // 1 on( target,"focus",lang.hitch(this,show,参数1,参数2)); // 2 on( target,"blur",hide(参数1,参数2));原文链接:https://www.f2er.com/dojo/291162.html