mirror of https://gitee.com/y_project/RuoYi.git
submitHandler添加回调参数
parent
54e05bae60
commit
7b36d1f60c
|
@ -580,7 +580,7 @@
|
||||||
if ($.common.isEmpty(callback)) {
|
if ($.common.isEmpty(callback)) {
|
||||||
callback = function(index, layero) {
|
callback = function(index, layero) {
|
||||||
var iframeWin = layero.find('iframe')[0];
|
var iframeWin = layero.find('iframe')[0];
|
||||||
iframeWin.contentWindow.submitHandler();
|
iframeWin.contentWindow.submitHandler(index, layero);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
layer.open({
|
layer.open({
|
||||||
|
@ -658,7 +658,7 @@
|
||||||
shadeClose: true,
|
shadeClose: true,
|
||||||
yes: function(index, layero) {
|
yes: function(index, layero) {
|
||||||
var iframeWin = layero.find('iframe')[0];
|
var iframeWin = layero.find('iframe')[0];
|
||||||
iframeWin.contentWindow.submitHandler();
|
iframeWin.contentWindow.submitHandler(index, layero);
|
||||||
},
|
},
|
||||||
cancel: function(index) {
|
cancel: function(index) {
|
||||||
return true;
|
return true;
|
||||||
|
|
Loading…
Reference in New Issue