Ext.MessageBox.confirm("选择全部", "确定选择?", function (btn) {
if (btn !== "yes") {
return;
}
//在此处写程序逻辑
});