When using frame page nesting development, when the server is restarted, the login page will appear in the frame page.
Therefore, you need to use js to determine the current address information in the login page, and then jump to a separate page of login.
The js code is as follows:
$("document").ready(function(){ //Prevent login page if(top.location!==self.location){ //alert(top.location); //alert(self.location); top.location.href=self.location.href; } });