The first time you visit the page, the verification code is not loaded. The second time you start to load the verification code. Please tell me how to implement this.
The current login page settings are as follows
How to record his first login and then judge
Thank you for your answer
Use localstorage to store~ Every time the page comes in, it will be judged whether this value exists. If it does not exist, it means the first login
Use localstorage to store
Use localstorage or cookie storage. However, the http request will carry cookies, so it is best to use localstorage.
Same as above, localstorage