diff --git a/src/components/IPTV.vue b/src/components/IPTV.vue index 796da18..7ab2e90 100644 --- a/src/components/IPTV.vue +++ b/src/components/IPTV.vue @@ -56,9 +56,8 @@ @@ -30,9 +30,8 @@ @@ -51,6 +50,8 @@ label="备注"> @@ -206,11 +207,8 @@ export default { handleSortChange (column, prop, order) { this.updateDatabase() }, - sortByName (a, b) { - return a.name.localeCompare(b.name, 'zh') - }, - sortByType (a, b) { - return a.type.localeCompare(b.type) + sortByLocaleCompare (a, b) { + return a.localeCompare(b, 'zh') }, detailEvent (e) { this.detail = {