mirror of
https://github.com/GiriNeko/YesPlayMusic.git
synced 2025-12-16 13:17:46 +00:00
lint: prettier
This commit is contained in:
parent
4ad406ecfe
commit
1c458041a9
4 changed files with 3 additions and 8 deletions
|
|
@ -174,7 +174,7 @@ export default {
|
|||
progressMax() {
|
||||
let max = ~~(this.currentTrack.dt / 1000);
|
||||
return max > 1 ? max - 1 : max;
|
||||
}
|
||||
},
|
||||
},
|
||||
methods: {
|
||||
...mapMutations([
|
||||
|
|
|
|||
|
|
@ -127,7 +127,7 @@ export default {
|
|||
if (!this.track.playable) trackClass.push("disable");
|
||||
if (this.isPlaying) trackClass.push("playing");
|
||||
return trackClass;
|
||||
}
|
||||
},
|
||||
},
|
||||
methods: {
|
||||
goToAlbum() {
|
||||
|
|
|
|||
|
|
@ -37,9 +37,5 @@ export function isUsernameLoggedIn() {
|
|||
|
||||
// 账户登录或者用户名搜索都判断为登录,宽松检查
|
||||
export function isLooseLoggedIn() {
|
||||
console.log(
|
||||
"isAccountLoggedIn() || isUsernameLoggedIn()",
|
||||
isAccountLoggedIn(), "||", isUsernameLoggedIn()
|
||||
);
|
||||
return isAccountLoggedIn() || isUsernameLoggedIn();
|
||||
}
|
||||
|
|
|
|||
|
|
@ -46,8 +46,7 @@
|
|||
</ButtonTwoTone>
|
||||
<ButtonTwoTone
|
||||
v-if="
|
||||
accountLogin &&
|
||||
playlist.creator.userId !== settings.user.userId
|
||||
accountLogin && playlist.creator.userId !== settings.user.userId
|
||||
"
|
||||
shape="round"
|
||||
:iconClass="playlist.subscribed ? 'heart-solid' : 'heart'"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue