The return problem of Mini Program's sharing page

requirements: the implementation is to click share on the details page in Mini Program"s list. If you come in from the shared page, then how to return to the higher-level page corresponding to the current page, and so on


this doesn't work. You can only add button function to return to the previous layer


. The current solution is to jump to the home page of the shared page path, and then jump to the shared page when the home page load, so you have a back button

.
Menu