【func.js】修改弹窗esc关闭

pull/65/head
chenjinlong 4 years ago
parent 430506239a
commit 5e4827a6cd

@ -91,6 +91,7 @@ layui.define(['jquery', 'layer', 'admin', 'table'], function (exports) {
//按键监听esc关闭对话框
$(window).keydown(function (event) {
if (event.keyCode === 27) {
//admin.closeThisDialog();
parent.layer.close(thisIndex)
}
});

Loading…
Cancel
Save