Home  >  Q&A  >  body text

javascript - chrome dialog box automatically closes problem

In the vue small project, there is a page request that requires http basic authentication. After the request is made, the browser displays the dialog box and is ready to enter the user name and password. However, the dialog box is closed before the user name and password have been entered. Yes Is it caused by this request or page re-rendering? Moreover, an exception occurs in Chrome, but it is normal in Firefox. The dialog disappears after the user clicks to confirm after inputting, and the request returns normally. What is the reason? Please give me some advice

ringa_leeringa_lee2735 days ago992

reply all(1)I'll reply

  • 世界只因有你

    世界只因有你2017-05-16 13:32:05

    Let’s take a look at the response header information

    reply
    0
  • Cancelreply