导航

EXT.NET Mask

Posted on 2019-06-26 09:47  yiyishuitian  阅读(343)  评论(0编辑  收藏  举报

JS:

 Ext.net.Mask.show({ msg: "执行中..." }); 

Ext.net.Mask.hide();

 

如果在同步执行进程中有可能无法显示,这时可以使用

var a = function(){

 Ext.net.Mask.show({ msg: "执行中..." }); 
setTimeout(function(){b();},200);

}

 

var b = function(){

Ext.net.Mask.hide();

}

 

 

C#:

 X.Mask.Show(new MaskConfig { Msg = "执行中......." });

X.Mask.Hide();