修改滚动高度

This commit is contained in:
lyswhut
2019-10-24 15:16:59 +08:00
parent b7eba95ab2
commit 0d612bd6df
+1 -1
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({