I can’t see where you used iframe and structure, can you explain it more clearly? If you close the iframe and refresh the page, you can do it directly through the dom. If it is a different domain, you can do it through cross-domain. If you close this tab and refresh another tab, you can use cookie + timing, or storage event to trigger multi-tab communication.
Inside this... window.close();//This close can actually be used universally
window.pranet.Operation(); This method is also common for operating the parent page. What follows is the same as what you want to do on the parent page
I can’t see where you used iframe and structure, can you explain it more clearly?
If you close the iframe and refresh the page, you can do it directly through the dom. If it is a different domain, you can do it through cross-domain.
If you close this tab and refresh another tab, you can use cookie + timing, or storage event to trigger multi-tab communication.
postmessage is very suitable for this scene
Try the js callback function
This screenshot looks a lot like the H-ui framework.
If the iframe you pop up uses layui, you can use it like this:
If it pops up using layui:
Inside this... window.close();//This close can actually be used universally
window.pranet.Operation();
This method is also common for operating the parent page. What follows is the same as what you want to do on the parent page