释放焦点,防止打开后按回车反复弹出(I5AA4V)

master
RuoYi 2022-06-08 19:52:07 +08:00
parent e932a7ead1
commit 5c5961f1b4
1 changed files with 9 additions and 0 deletions

View File

@ -883,6 +883,9 @@ var table = {
yes: callback, yes: callback,
cancel: function(index) { cancel: function(index) {
return true; return true;
},
success: function () {
$(':focus').blur();
} }
}); });
}, },
@ -929,6 +932,9 @@ var table = {
yes: options.yes, yes: options.yes,
cancel: function () { cancel: function () {
return true; return true;
},
success: function () {
$(':focus').blur();
} }
}, btnCallback)); }, btnCallback));
if ($.common.isNotEmpty(options.full) && options.full === true) { if ($.common.isNotEmpty(options.full) && options.full === true) {
@ -972,6 +978,9 @@ var table = {
}, },
cancel: function(index) { cancel: function(index) {
return true; return true;
},
success: function () {
$(':focus').blur();
} }
}); });
top.layer.full(index); top.layer.full(index);