如何获取Ext.Msg.confirm的返回值

2025-03-15 00:44:33
推荐回答(1个)
回答1:

回调函数
Ext.Msg.confirm('','',functon(name){
if(name == 'yes') {
alert(1);
} else {
alert(0);
}
});