新增修改全屏/确认取消按钮

This commit is contained in:
RuoYi
2019-01-04 11:37:35 +08:00
parent 6237ddb3dc
commit 0c76d45349
3 changed files with 25 additions and 23 deletions

View File

@ -391,8 +391,16 @@
shade: 0.3,
title: title,
content: url,
btn: ['确定', '关闭'],
// 弹层外区域关闭
shadeClose: true
shadeClose: true,
yes: function(index, layero) {
var iframeWin = layero.find('iframe')[0];
iframeWin.contentWindow.submitHandler();
},
cancel: function(index) {
return true;
}
});
layer.full(index);
},