From cfa5e0c5b10aa1b1d2815c9a18a86f8f2408f400 Mon Sep 17 00:00:00 2001 From: kunkka Date: Mon, 26 Oct 2020 10:56:26 +0800 Subject: [PATCH] lint: prettier --- src/views/loginUsername.vue | 2 +- src/views/next.vue | 2 +- src/views/playlist.vue | 4 +--- 3 files changed, 3 insertions(+), 5 deletions(-) diff --git a/src/views/loginUsername.vue b/src/views/loginUsername.vue index 5bd617b..8a50950 100644 --- a/src/views/loginUsername.vue +++ b/src/views/loginUsername.vue @@ -97,7 +97,7 @@ export default { this.$router.push({ path: "/library" }); }); }, - throttleSearch: throttle(function() { + throttleSearch: throttle(function () { this.search(); }, 500), }, diff --git a/src/views/next.vue b/src/views/next.vue index bde1b10..045c22d 100644 --- a/src/views/next.vue +++ b/src/views/next.vue @@ -41,7 +41,7 @@ export default { }, sortedTracks() { function compare(property) { - return function(obj1, obj2) { + return function (obj1, obj2) { var value1 = obj1[property]; var value2 = obj2[property]; return value1 - value2; diff --git a/src/views/playlist.vue b/src/views/playlist.vue index 5f8c02a..e58b685 100644 --- a/src/views/playlist.vue +++ b/src/views/playlist.vue @@ -27,9 +27,7 @@ > {{ playlist.creator.nickname }}