修复当试听列表为空时,无法切到其他界面的Bug
parent
7236f8929c
commit
c029eccdd3
|
@ -1,3 +1,4 @@
|
|||
#### 修复
|
||||
|
||||
- 修正火影皮肤名字
|
||||
- 修复当试听列表为空时,无法切到其他界面的Bug
|
||||
|
|
|
@ -124,7 +124,7 @@ export default {
|
|||
// }
|
||||
// },
|
||||
beforeRouteLeave(to, from, next) {
|
||||
this.routeLeaveLocation = this.$refs.dom_scrollContent.scrollTop
|
||||
this.routeLeaveLocation = (this.list.length && this.$refs.dom_scrollContent.scrollTop) || 0
|
||||
next()
|
||||
},
|
||||
created() {
|
||||
|
|
Loading…
Reference in New Issue