Update collection-list.ejs
This commit is contained in:
parent
a817df3d06
commit
b8dec35ac7
1 changed files with 2 additions and 1 deletions
|
@ -84,13 +84,14 @@
|
|||
this.loading = true
|
||||
|
||||
this.api.v3.music(this.data.next, app.collectionList.requestBody).then((response) => {
|
||||
console.log(response)
|
||||
if (!app.collectionList.response.groups) {
|
||||
if (response.data.next) {
|
||||
this.data.data = this.data.data.concat(response.data.data);
|
||||
this.data.next = response.data.next;
|
||||
this.triggerEnabled = true;
|
||||
this.loading = false
|
||||
}
|
||||
this.loading = false
|
||||
}else{
|
||||
if(!response.data.results[app.collectionList.response.groups]) {
|
||||
this.loading = false
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue