[Andrew]Ext.net前台弹框

//有询问的提示框 

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