File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ export default {
4040 const isInitialRender = ! this .$root ._isMounted
4141 return {
4242 loading: false ,
43- transition: ' slide-left ' ,
43+ transition: ' slide-up ' ,
4444 // if this is the initial render, directly render with the store state
4545 // otherwise this is a page switch, start with blank and wait for data load.
4646 // we need these local state so that we can precisely control the timing
@@ -96,7 +96,9 @@ export default {
9696 this .$router .replace (` /${ this .type } /1` )
9797 return
9898 }
99- this .transition = to > from ? ' slide-left' : ' slide-right'
99+ this .transition = from === - 1
100+ ? null
101+ : to > from ? ' slide-left' : ' slide-right'
100102 this .displayedPage = to
101103 this .displayedItems = this .$store .getters .activeItems
102104 this .loading = false
You can’t perform that action at this time.
0 commit comments