Mini Program: after entering Mini Program, click on the right capsule to exit, wait about two minutes, face down in WeChat to find the previous Mini Program to enter, Mini Program does not call the interface, why?

Mini Program: after entering Mini Program, click the right capsule to exit, wait about two minutes, face down in WeChat to find the previous Mini Program to enter, Mini Program does not call the interface, why?
Mobile phone models tested: OPPOR9sk, Meizu pro6, Huawei Honor 7X-sharp-sharp-sharp problem description

Feb.28,2022
The

point to the right is not to quit, but to shrink Mini Program, and the process is still repeated. Opening Mini Program again will not trigger the onLoad life cycle unless you kill the process. If you want to open the trigger calling API again, you need to write the API call to the onshow lifecycle, so that the API


is called every time it is displayed. After testing, it is suspected that Mini Program is not the problem of the release version, because the release version does not have this problem.

Menu