修改滚动高度

pull/96/head
lyswhut 2019-10-24 15:16:59 +08:00
parent b7eba95ab2
commit 0d612bd6df
1 changed files with 1 additions and 1 deletions

View File

@ -218,7 +218,7 @@ export default {
}
this.$nextTick(() => {
let location = this.getMusicLocation(this.$route.query.scrollIndex) - 200
let location = this.getMusicLocation(this.$route.query.scrollIndex) - 150
if (location < 0) location = 0
isAnimation ? scrollTo(this.$refs.dom_scrollContent, location) : this.$refs.dom_scrollContent.scrollTo(0, location)
this.$router.replace({