From 0972735f1679ad0a5b02aeced102ac74fd652a66 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AE=87=E5=A4=A9?= Date: Wed, 11 Dec 2019 20:08:40 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=88=A0=E9=99=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/js/app.js | 2 ++ src/main.js | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/js/app.js b/src/js/app.js index 3983bdf..49062ad 100644 --- a/src/js/app.js +++ b/src/js/app.js @@ -126,6 +126,7 @@ Anot({ .then(res => { delete dict[this.editDomain] this.domains.remove(this.editDomain) + this.activeDomain = '' this.editDomain = '' this.records.clear() this.save() @@ -148,6 +149,7 @@ Anot({ this.domains.set(idx, val) dict[val] = dict[this.editDomain] delete dict[this.editDomain] + this.activeDomain = '' this.editDomain = '' this.save() this.toggleDomain(val) diff --git a/src/main.js b/src/main.js index cfc347e..186d86d 100644 --- a/src/main.js +++ b/src/main.js @@ -66,7 +66,7 @@ app.once('ready', () => { win = null }) - // win.openDevTools() + win.openDevTools() // 然后加载应用的 index.html win.loadURL('app://local/index.html')