premise: I have a management system, the system has a project system, a user can have multiple projects, after logging in, you can switch projects. The front end will save the project that the user is currently logged in to with localStorage, so that after refreshing, it can still remain in the previous project
.question: now there is a user of two AMagi B projects who use two tab pages in the browser. If you first switch to An on the first tab page, then localStorage records A, and then An in the second tab page is switched to BQuery localStorage. Then A will be overwritten, and then go back to the first tab page to refresh, and the project will become the same as the second tab page
.