Skip to content

Commit 96b7440

Browse files
author
zhangxinxu
committed
fix back exp-bug
1 parent 747bf5f commit 96b7440

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

src/mobilebone.js

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
*
4747
* @type string
4848
**/
49-
Mobilebone.VERSION = "2.7.5";
49+
Mobilebone.VERSION = "2.7.6";
5050

5151
/**
5252
* Whether catch attribute of href from element with tag 'a'
@@ -501,7 +501,13 @@
501501
}, 17);
502502

503503
// add on v2.7.5 improve back user experence
504-
store.lastShip = [pageInto, pageOut];
504+
// add on v2.7.6
505+
// only not back transiton store last ship
506+
if (back == false) {
507+
store.lastShip = [pageInto, pageOut];
508+
} else {
509+
store.lastShip = null;
510+
}
505511
}
506512
};
507513

0 commit comments

Comments
 (0)