From 7b9b9f281a5c8e6b71ea0eafb11c183404cfbd8b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AE=87=E5=A4=A9?= Date: Fri, 13 Dec 2019 17:00:01 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AE=B0=E5=BD=95=E6=8E=92=E5=BA=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 2 +- src/js/app.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 6e51051..e383edd 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "dns-host", - "version": "1.1.0", + "version": "1.1.1", "description": "伪域名解析", "main": "src/main.js", "scripts": { diff --git a/src/js/app.js b/src/js/app.js index 49062ad..d2b7058 100644 --- a/src/js/app.js +++ b/src/js/app.js @@ -75,7 +75,7 @@ Anot({ }, toggleDomain(name) { this.activeDomain = name - this.records = dict[name] + this.records = dict[name].sort((a, b) => a.record.localeCompare(b.record)) tmp_records = Object.create(null) for (let it of this.records) { if (tmp_records[it.record]) {