lint: prettier

master
kunkka 4 years ago
parent f4c5761de1
commit cfa5e0c5b1

@ -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…
Cancel
Save