We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 976be6d commit 08c6a4eCopy full SHA for 08c6a4e
1 file changed
src/renderer/components/material/SongList.vue
@@ -70,7 +70,7 @@ div(:class="$style.songList")
70
71
<script>
72
import { mapGetters } from 'vuex'
73
-import { scrollTo, clipboardWriteText, assertApiSupport } from '../../utils'
+import { clipboardWriteText, assertApiSupport } from '../../utils'
74
import musicSdk from '../../utils/music'
75
import { windowSizeList } from '@common/config'
76
export default {
@@ -189,7 +189,7 @@ export default {
189
list(n) {
190
this.removeAllSelect()
191
if (!this.list.length) return
192
- this.$nextTick(() => scrollTo(this.$refs.dom_scrollContent, 0))
+ this.$nextTick(() => this.$refs.list.scrollTo(0))
193
},
194
195
data() {
0 commit comments