|
|
@ -58,7 +58,7 @@
|
|
|
|
import { mapState } from "vuex";
|
|
|
|
import { mapState } from "vuex";
|
|
|
|
import { getTrackDetail, getLyric } from "@/api/track";
|
|
|
|
import { getTrackDetail, getLyric } from "@/api/track";
|
|
|
|
import { userDetail, userPlaylist } from "@/api/user";
|
|
|
|
import { userDetail, userPlaylist } from "@/api/user";
|
|
|
|
import { randomNum } from "@/utils/common";
|
|
|
|
import { randomNum, dailyTask } from "@/utils/common";
|
|
|
|
import { getPlaylistDetail } from "@/api/playlist";
|
|
|
|
import { getPlaylistDetail } from "@/api/playlist";
|
|
|
|
import { playPlaylistByID } from "@/utils/play";
|
|
|
|
import { playPlaylistByID } from "@/utils/play";
|
|
|
|
import NProgress from "nprogress";
|
|
|
|
import NProgress from "nprogress";
|
|
|
@ -98,6 +98,7 @@ export default {
|
|
|
|
},
|
|
|
|
},
|
|
|
|
activated() {
|
|
|
|
activated() {
|
|
|
|
this.loadData();
|
|
|
|
this.loadData();
|
|
|
|
|
|
|
|
dailyTask();
|
|
|
|
},
|
|
|
|
},
|
|
|
|
computed: {
|
|
|
|
computed: {
|
|
|
|
...mapState(["settings"]),
|
|
|
|
...mapState(["settings"]),
|
|
|
|