The problem of navigateBack page stack in Mpvue

problem recurrence steps:

a, b pages url prefix is / pages/dirlist/main

  1. the id in the page of redirecting from home page is 1
    wx.navigateTo ({
    url:"/ pages/dirlist/main?id=1"
    })

2. Jump from page a to page b, id is 2
wx.navigateTo ({
url:"/ pages/dirlist/main?id=2"
})

3. NavigateBack cannot jump from b page to a page, and the page stack does not change. Call navigateBack to flash a page and then continue to render b page

expected performance:

navigateBack can return to a page normally (tested with native Mini Program without this problem, this is mpvue"s bug? Is there any good solution)

Jun.23,2022
Menu