my Mini Program, after opening it, first go to the-> login page and successfully log in to save the token obtained by the server to globalData (the expiration time of token is 1 hour), then go to the index page, and then exit Mini Program.
enter Mini Program after an hour. Mini Program directly entered the page of the last exit: index, did not go to login to get token,. The token saved in globalData before getting globalData is expired. How to deal with this problem?