The angular http request is sent twice at the same time

Viewed 1949

I used angluar4 http, Such as login request server, When I click the button to submit the form, Google Chrome's network to capture the two requests, one of which is zone.js: 2744 (the return of the data is wrong).

Why is there twice?

My code reference here: https://angular.cn/tutorial/toh-pt6

1 all 2 first 3 second

1 Answers
Related