mirror of
https://github.com/qier222/YesPlayMusic.git
synced 2025-01-19 17:12:45 +08:00
fix: bugs
This commit is contained in:
parent
109098c1eb
commit
fda5f99c15
|
@ -64,6 +64,7 @@ export function dailySignin(type = 0) {
|
|||
method: "post",
|
||||
params: {
|
||||
type,
|
||||
timestamp: new Date().getTime(),
|
||||
},
|
||||
});
|
||||
}
|
||||
|
|
|
@ -36,7 +36,7 @@ export default {
|
|||
artist: "Artist",
|
||||
videos: "Music Videos",
|
||||
following: "Following",
|
||||
follow: "Follow"
|
||||
follow: "Follow",
|
||||
},
|
||||
album: {
|
||||
released: "Released",
|
||||
|
|
|
@ -33,7 +33,7 @@ export default {
|
|||
artist: "歌手",
|
||||
videos: "个MV",
|
||||
following: "已关注",
|
||||
follow: "关注"
|
||||
follow: "关注",
|
||||
},
|
||||
album: {
|
||||
released: "发行于",
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
<template>
|
||||
<div v-show="show">
|
||||
<h1>
|
||||
<img class="head" :src="user.profile.avatarUrl | resizeImage" />{{
|
||||
user.profile.nickname
|
||||
<img class="head" :src="data.user.avatarUrl | resizeImage" />{{
|
||||
data.user.nickname
|
||||
}}{{ $t("library.sLibrary") }}
|
||||
</h1>
|
||||
<div class="section-one">
|
||||
|
@ -129,12 +129,6 @@ export default {
|
|||
data() {
|
||||
return {
|
||||
show: false,
|
||||
user: {
|
||||
profile: {
|
||||
avatarUrl: "",
|
||||
nickname: "",
|
||||
},
|
||||
},
|
||||
playlists: [],
|
||||
hasMorePlaylists: true,
|
||||
likedSongsPlaylist: {
|
||||
|
@ -153,7 +147,7 @@ export default {
|
|||
created() {
|
||||
NProgress.start();
|
||||
userDetail(this.data.user.userId).then((data) => {
|
||||
this.user = data;
|
||||
this.$store.commit("updateData", { key: "user", value: data.profile });
|
||||
});
|
||||
},
|
||||
activated() {
|
||||
|
|
Loading…
Reference in New Issue
Block a user