The page opened by window.showModalDialog needs to be jumped or refreshed

window.name = "dialogPage";

window.open("page2.html","dialogPage");

At this time, normal page jump can be realized; but if you use this method to refresh this page, that is, window.open('page1.html','dialogPage');

It may be that the page cannot be updated due to page caching; at this time, you can set the page to not allow caching (Response.Cache.SetNoStore()) to solve this problem;

Guess you like

Origin blog.csdn.net/xushiyu1996818/article/details/112689293