mirror of
https://github.com/GiriNeko/YesPlayMusic.git
synced 2025-12-18 06:07:48 +00:00
lint: prettier
This commit is contained in:
parent
f4c5761de1
commit
cfa5e0c5b1
3 changed files with 3 additions and 5 deletions
|
|
@ -97,7 +97,7 @@ export default {
|
||||||
this.$router.push({ path: "/library" });
|
this.$router.push({ path: "/library" });
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
throttleSearch: throttle(function() {
|
throttleSearch: throttle(function () {
|
||||||
this.search();
|
this.search();
|
||||||
}, 500),
|
}, 500),
|
||||||
},
|
},
|
||||||
|
|
|
||||||
|
|
@ -41,7 +41,7 @@ export default {
|
||||||
},
|
},
|
||||||
sortedTracks() {
|
sortedTracks() {
|
||||||
function compare(property) {
|
function compare(property) {
|
||||||
return function(obj1, obj2) {
|
return function (obj1, obj2) {
|
||||||
var value1 = obj1[property];
|
var value1 = obj1[property];
|
||||||
var value2 = obj2[property];
|
var value2 = obj2[property];
|
||||||
return value1 - value2;
|
return value1 - value2;
|
||||||
|
|
|
||||||
|
|
@ -27,9 +27,7 @@
|
||||||
>
|
>
|
||||||
<a
|
<a
|
||||||
v-else
|
v-else
|
||||||
:href="
|
:href="`https://music.163.com/#/user/home?id=${playlist.creator.userId}`"
|
||||||
`https://music.163.com/#/user/home?id=${playlist.creator.userId}`
|
|
||||||
"
|
|
||||||
target="blank"
|
target="blank"
|
||||||
>{{ playlist.creator.nickname }}</a
|
>{{ playlist.creator.nickname }}</a
|
||||||
>
|
>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue