会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
大脑过载
博客园
首页
新随笔
联系
订阅
管理
2022年4月20日
JS子页面调用父页面的方法
摘要: 方法1: 子页面关闭后触发父页面的方法 // 父页面const winObj = window.open(url.href); const loop = setInterval(() => { if (!winObj) { return; } if (winObj.closed) { clearIn
阅读全文
posted @ 2022-04-20 09:55 大脑过载
阅读(2230)
评论(0)
推荐(0)
公告