- 博客(1)
- 收藏
- 关注
原创 Vue+Layer子弹窗保存关闭并刷新父页面的方法
一、刷新整个浏览器页面: window.parent.location.reload(); varindex=parent.$layer.getFrameIndex(window.name);parent.$layer.close(index);二、刷新当前Vue单页面: 1、在父页面使用window定义一个全局的方法mounted(){window['layerTest']=()=>{...
2021-09-02 18:06:11
1306
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人