From 8ca95a17a7c959cccccaf69b60293ea8f356a976 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=AF=97=E4=BA=BA=E7=9A=84=E5=92=B8=E9=B1=BC?= Date: Wed, 23 Sep 2020 23:16:02 +0800 Subject: [PATCH 1/3] =?UTF-8?q?fix=EF=BC=9AclearCache.then?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/index.js b/src/main/index.js index 4e21213..17e5b48 100644 --- a/src/main/index.js +++ b/src/main/index.js @@ -248,7 +248,7 @@ const getMenuData = function () { // if (mainWindow) { //console.log(path.join(app.getPath('userData'), 'Cache')); - mainWindow.webContents.session.clearCache(function () { + mainWindow.webContents.session.clearCache().then(()=>{ mainWindow.loadURL(util.mainURL); }); } From 0f9ba09bbe468f625868a699debb4ab5d0ac830f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=AF=97=E4=BA=BA=E7=9A=84=E5=92=B8=E9=B1=BC?= Date: Thu, 5 Nov 2020 10:21:16 +0800 Subject: [PATCH 2/3] =?UTF-8?q?change=EF=BC=9Amenu-item=20=E6=B7=BB?= =?UTF-8?q?=E5=8A=A0title=20=E5=B1=9E=E6=80=A7.=E6=98=BE=E7=A4=BA=E5=AE=8C?= =?UTF-8?q?=E6=88=90=E5=90=8D=E7=A7=B0(#171)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/renderer/components/ResourceList.vue | 8 ++++---- src/renderer/pages/Main.vue | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/renderer/components/ResourceList.vue b/src/renderer/components/ResourceList.vue index bfe7856..8786a26 100644 --- a/src/renderer/components/ResourceList.vue +++ b/src/renderer/components/ResourceList.vue @@ -62,7 +62,7 @@ >