87,907
社区成员
发帖
与我相关
我的任务
分享
Ext.onReady(function () {
Ext.create('Ext.window.Window', {
title: 'Hello',
height: 200,
width: 400,
listeners: {
beforeClose: function (_this) {
return confirm("确认删除吗?");
}
}
}).show();
});
window.onbeforeunload = function() {
try {
return "是否关闭?";
} catch (e) { }
}