Get layui pop the index and close

 

var index = parent.layer.getFrameIndex (the window.name); // get the window index 
parent.layer.close (index);   // Close the current layer layer

 

Guess you like

Origin www.cnblogs.com/xiaostudy/p/11608001.html
Recommended