[Andrew]Ext.net前台弹框

mac2022-06-30  28

//有询问的提示框 

Ext.Msg.show({            title: title,            msg: msg,            buttons: Ext.Msg.YESNO,            fn: function (e) {                if (e == 'no') {                    return null;                }

      else {                    Ext.net.Notification.show({                        iconCls: 'icon-information',                        html: '询问的文字(如:您是否要进行该操作吗?)',                        title: '标题'                    });                }

如果不需要进行操作提示,只进行弹框的话,直接用else中的语句即可实现

转载于:https://www.cnblogs.com/teamate/p/3722759.html

相关资源:C#与.NET3.5高级程序设计(第4版) 中文6
最新回复(0)