From 96867ac0d6da4602f807f50b369b1667c0d32d32 Mon Sep 17 00:00:00 2001 From: MKStoler Date: Sat, 7 Dec 2024 02:04:52 +0000 Subject: [PATCH] =?UTF-8?q?fix:=20=E7=A6=81=E7=94=A8=E8=AF=B7=E6=B1=82?= =?UTF-8?q?=E7=BC=93=E5=AD=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .prettierignore | 2 ++ README.md | 2 +- src/renderer/src/pages/mainWindow.vue | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.prettierignore b/.prettierignore index 9c6b791..ac2bbdf 100644 --- a/.prettierignore +++ b/.prettierignore @@ -4,3 +4,5 @@ pnpm-lock.yaml LICENSE.md tsconfig.json tsconfig.*.json +.all-contributorsrc +.github/dependabot.yml \ No newline at end of file diff --git a/README.md b/README.md index 2ea1b0e..68231d5 100644 --- a/README.md +++ b/README.md @@ -30,7 +30,7 @@ > [!tip] -> +> > **本软件使用 `Vue` + `TypeScript` + `JavaScript` 制作,使用 `Node.js` + `Electron` 完善系统级功能并打包。** ## 功能 diff --git a/src/renderer/src/pages/mainWindow.vue b/src/renderer/src/pages/mainWindow.vue index 24843e1..06d1c73 100644 --- a/src/renderer/src/pages/mainWindow.vue +++ b/src/renderer/src/pages/mainWindow.vue @@ -54,7 +54,7 @@ function saveUrl() { async function fetchConfig() { if (remoteUrl.value) { try { - const configResponse = await fetch(remoteUrl.value); + const configResponse = await fetch(remoteUrl.value, { cache: 'no-store' }); if (!configResponse.ok) { throw new Error('无法获取配置文件'); }