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