When using frame page nested development, when the server is restarted, the login page will appear in the frame page,
So you need to use js in the login page to determine the current address information, and then jump to a separate login page.
The js code is as follows:
$("document").ready(function(){ //防止在frame里面出现登录页面 if(top.location!==self.location){ //alert(top.location); //alert(self.location); top.location.href=self.location.href; } });