Return back to history page

i have 4 pages

page1:index (navigate by click on link)
page2:static page (navigate by click on link and pass id in link)
page3: dynamic show my product from server…
page4:dynamic invoice

i want back from page4 to page3 then to page2 then to page1

i tried this status all of them back to page1

<a class=“back” href="#">
<a class=“back” data-ignore-cache=“true” data-force=“true”>

in script i tried:
view.router.back({
url: “./pages/page3.html”,
force: true,
ignoreCache: true
});

all same problem how i can solve it ??

1 Like