mirror of
https://github.com/Dvorinka/swingmusic-extended.git
synced 2026-06-04 12:33:03 +00:00
use songitem component on search page track items
This commit is contained in:
@@ -89,7 +89,7 @@ export default defineStore("search", () => {
|
||||
}
|
||||
|
||||
function loadTracks() {
|
||||
loadCounter.tracks += 6;
|
||||
loadCounter.tracks += 12;
|
||||
|
||||
loadMoreTracks(loadCounter.tracks)
|
||||
.then((res) => {
|
||||
@@ -100,7 +100,7 @@ export default defineStore("search", () => {
|
||||
}
|
||||
|
||||
function loadAlbums() {
|
||||
loadCounter.albums += 6;
|
||||
loadCounter.albums += 12;
|
||||
|
||||
loadMoreAlbums(loadCounter.albums)
|
||||
.then((res) => {
|
||||
@@ -115,7 +115,7 @@ export default defineStore("search", () => {
|
||||
}
|
||||
|
||||
function loadArtists() {
|
||||
loadCounter.artists += 6;
|
||||
loadCounter.artists += 12;
|
||||
|
||||
loadMoreArtists(loadCounter.artists)
|
||||
.then((res) => {
|
||||
@@ -186,8 +186,6 @@ export default defineStore("search", () => {
|
||||
currentTab.value = tab;
|
||||
}
|
||||
|
||||
setTimeout(() => {}, 3000);
|
||||
|
||||
return {
|
||||
tracks,
|
||||
albums,
|
||||
|
||||
Reference in New Issue
Block a user