当前位置:网站首页>layer关闭弹窗,刷新父页面
layer关闭弹窗,刷新父页面
2022-04-22 05:39:00 【食之无味,弃之可惜】
//获取index不要写在函数里,
//可能获取不到index
var index = parent.layer.getFrameIndex(window.name);
function closeFram() {
window.parent.refreshPage() //调用父页面方法刷新表格
parent.layer.close(index); //关闭当前页面,写在最后面
}
版权声明
本文为[食之无味,弃之可惜]所创,转载请带上原文链接,感谢
https://blog.csdn.net/qq_39846820/article/details/108118070
边栏推荐
- 数据处理代码记录
- miniconda 换源(添加镜像)
- 蓝桥杯2017年第八届真题-青蛙跳杯子
- Full Permutation (backtracking) template
- Simple DP questions - cow breeding and super stair climbing
- 数据挖掘——认识数据
- Error Putty X11 proxy: Authorisation not recognised
- Several ways to exchange two variable values without the third variable
- Optimization theory: transportation problem (I) finding the minimum freight [northwest corner method, minimum element method, Vogel method]
- Code analysis of STL alloc space allocator
猜你喜欢
随机推荐
LeetCode 514. 自由之路--动态规划
字典树模板
torch nn.Parameter可训练参数定义
codeforces div2 777 A
opencv 骨架提取/图片细化 代码
《最优化理论》:运输问题(一)求最小运费【西北角法、最小元素法、伏格尔法】
全排列(回溯法)模板
蓝桥杯31天冲刺 Day4
raspberry keras-ocr can‘t allocate memory in static TLS block
Typescript: Basics
LeetCode 589. Preorder traversal of n-ary tree
Why introduce collaborative process
Interpretation of imencode source code
正在读取软件包列表... 完成 正在分析软件包的依赖关系树 正在读取状态信息... 完成 有一些软件包无法被安装。如果您用的是 unstable 发行版,这也许是 因为系统
Data mining -- data preprocessing
蓝桥杯31天冲刺 Day16
蓝桥杯31天冲刺 Day14
数据挖掘——数据预处理
Torch uses stepping on the pit diary and matrix to speed up the operation
Missile interception problem (DP, Dilworth theorem)









