success: function (layero, index) {

		var iframeWin = $("div.layui-layer-content > iframe", layero)[0].contentWindow; //得到iframe页的窗口对象,执行iframe页的方法:iframeWin.method();
		$('#project-id', iframeWin.document).attr('project-id', projectId); // 把项目id传到弹层
		$('#cur-iframe-id', iframeWin.document).attr('iframe-id', index); // 把当前页面的id传到弹层

	},

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-02-13
  • 2022-12-23
  • 2022-12-23
  • 2022-01-09
  • 2021-09-03
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-12-26
  • 2021-07-15
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案