How to keep the login status of the app written by vue

use hbuilder to package the app, written by vue. If you exit app, on your mobile phone, you have to log in again. How to ensure that you keep your login status all the time

Jan.10,2022

localStorage caches login information to determine whether there is a login

each time.
Menu