moved onEnter to mounted
This commit is contained in:
parent
74c42ede84
commit
8616f42978
6 changed files with 22 additions and 5 deletions
|
@ -42,5 +42,8 @@
|
|||
app: this.$root
|
||||
}
|
||||
},
|
||||
mounted() {
|
||||
this.$root.getBrowsePage();
|
||||
}
|
||||
})
|
||||
</script>
|
|
@ -71,6 +71,13 @@
|
|||
app : this.$root
|
||||
}
|
||||
},
|
||||
mounted() {
|
||||
this.$root.getLibraryAlbumsFull(null, 1);
|
||||
this.$root.getAlbumSort();
|
||||
this.$root.searchLibraryAlbums(1);
|
||||
this.$root.getLibrarySongsFull() ;
|
||||
this.$root.searchLibraryAlbums(1);
|
||||
},
|
||||
methods: {
|
||||
}
|
||||
});
|
||||
|
|
|
@ -63,6 +63,7 @@
|
|||
},
|
||||
mounted() {
|
||||
let self = this;
|
||||
this.$root.getLibraryArtistsFull(null, 0);
|
||||
this.$root.$on('ap-inlinecollection', function(e){
|
||||
console.log("hey",e)
|
||||
self.clready = true;
|
||||
|
|
|
@ -80,6 +80,9 @@
|
|||
app : this.$root
|
||||
}
|
||||
},
|
||||
mounted() {
|
||||
this.$root.getLibrarySongsFull()
|
||||
},
|
||||
methods: {
|
||||
sayHello: function () {
|
||||
alert('Hello world!');
|
||||
|
|
|
@ -15,6 +15,9 @@ Vue.component('cider-listen-now', {
|
|||
return {
|
||||
app : this.$root
|
||||
}
|
||||
},
|
||||
mounted() {
|
||||
this.$root.getListenNow()
|
||||
}
|
||||
})
|
||||
</script>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue