From 454d1921419bb094ed57b7ebb47dc1159a898867 Mon Sep 17 00:00:00 2001 From: haiyangcui Date: Fri, 23 Oct 2020 15:53:21 +0200 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E5=A5=BD=E6=94=AF=E6=8C=81=E4=B8=AD?= =?UTF-8?q?=E6=96=87=E6=8E=92=E5=BA=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/Star.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/Star.vue b/src/components/Star.vue index 6131a44..5b52c71 100644 --- a/src/components/Star.vue +++ b/src/components/Star.vue @@ -130,7 +130,7 @@ export default { methods: { ...mapMutations(['SET_VIEW', 'SET_DETAIL', 'SET_VIDEO', 'SET_SHARE']), sortByName (a, b) { - return a.name.localeCompare(b.name) + return a.name.localeCompare(b.name, 'zh') }, sortByType (a, b) { return a.type.localeCompare(b.type)