Page previous history become blank after swipe back

Hi , the 1st page I put page.router.clearPreviousHistory(); but after I go to 3rd page and swipe back the previous page become blank. But , When I check the code debug “page-previous” still have data.

1.Swipe back to previous page become blank.

routes:[{

{
path: ‘/notification/’,
url: ‘./pages/notification_list.html’,
on: {
pageInit(e, page) {
page.router.clearPreviousHistory();
},
}
},

}

found the solution

var app = new Framework7({
  ...
  view: {
    stackPages: true,
 ...
  },