Small program development pit --------- The home page contains a return button, after returning, it is blank and cannot be exited

The reason for this problem is that a judgment is made in app.js at the entrance of the applet. According to business requirements and different conditions, different interfaces need to be loaded.

The loading page of the home page is blank, and the navigateTo jump is used. After the jump, the return button will be saved and returned to the previous interface, that is, the blank page.

The solution is: use redirectTo to jump, close the current page jump, and the back button will not be retained after the jump.

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=324863800&siteId=291194637