The problem of maximum value of Mini Program page stack

build Mini Program application with mpvue framework, and study the content of routing.

check the official website and say that the maximum number of page stacks is 5, but I can jump 10 times. What is the situation?
Jump idea: it is convenient to jump from the current page to the current page

Code:

goToCount() {
      /* eslint-disable */
      var pages = getCurrentPages();
      logger("pages",pages);
      wx.navigateTo({
        url: "/pages/home/HomePage",
      });
    },

log log:

clipboard.png

May.24,2022

a maximum of 5 is already an old version, and the current maximum is 10

.

wx.navigateTo

Menu