layer 弹层组件下的 iframe 交互详细教程

来源:互联网 发布:如何做淘宝直通车 编辑:程序博客网 时间:2024/05/17 00:53
// top 页面layui.use(['a', 'b'], function(){  var _tools = {    func1: function() {      console.log('func1');    }  }  _tools.func1();  window._tools = _tools;})// iframe 页面top._tools.func1();
原文:点击打开链接
原创粉丝点击