Java background intercept js problem

when you visit the home page for the first time and do not log in, return to the login page, print the js file of the home page in the background after login, exit in login, this time there is no print, that is, you did not intercept the js, of the first page. I want to intercept the js, every time I visit the home page. Static resources are placed in the background, using spring boot

.
Mar.04,2021
Menu