layer

 

Layer-related, close the pop-up page, and add the following code to the pop-up page button:

var index = parent.layer.getFrameIndex(window.name);

parent.layer.close(index);

 

Layer-related, refresh the parent page, add end:function(){location.reload();} on the parent page, the example is as follows:

layer.open({

      type: 2,

      title: 'To Do',

      shadeClose: true,

      shade: false,

      maxmin: true, //Enable the maximize and minimize button

      area: ['90%', '90%'],

      content: currentProjectPath+'/jy/xm/View/main-lcbd-view.shtml?'+"type="+tp+"",

      end: function () {

          location.reload();

         }

    });

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326116351&siteId=291194637