Skip to content

Commit e65e115

Browse files
committed
fix: use unshift to cache pages in mp
1 parent 9185c2d commit e65e115

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

vue-plugin/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ module.exports = {
105105

106106
handleStore(this.$store, pageInfo);
107107

108-
rootVMCache.push(this);
108+
rootVMCache.unshift(this);
109109
}
110110
},
111111
updated() {

0 commit comments

Comments
 (0)