From 7c08627e6fa59792d2ae93f35374fd95422030f5 Mon Sep 17 00:00:00 2001 From: haiyangcui Date: Sun, 8 Nov 2020 12:18:42 +0100 Subject: [PATCH] =?UTF-8?q?=E6=94=AF=E6=8C=81=E6=90=9C=E7=B4=A2=E7=BB=93?= =?UTF-8?q?=E6=9E=9C=E6=8E=92=E5=BA=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/Film.vue | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/components/Film.vue b/src/components/Film.vue index 93ff884..a705da2 100644 --- a/src/components/Film.vue +++ b/src/components/Film.vue @@ -135,10 +135,14 @@ @row-click="(row) => detailEvent(row.site, row)" style="width: 100%"> @@ -289,6 +293,9 @@ export default { }, methods: { ...mapMutations(['SET_VIEW', 'SET_DETAIL', 'SET_VIDEO', 'SET_SHARE']), + sortByLocaleCompare (a, b) { + return a.localeCompare(b, 'zh') + }, siteClick (siteName) { this.list = [] this.site = this.sites.find(x => x.name === siteName)