mirror of
https://hub.gitmirror.com/https://github.com/ExamAware/ExamShowboard-Legacy.git
synced 2025-04-28 23:36:33 +00:00
fix: 禁用请求缓存
This commit is contained in:
parent
267b4f35df
commit
96867ac0d6
@ -4,3 +4,5 @@ pnpm-lock.yaml
|
||||
LICENSE.md
|
||||
tsconfig.json
|
||||
tsconfig.*.json
|
||||
.all-contributorsrc
|
||||
.github/dependabot.yml
|
@ -30,7 +30,7 @@
|
||||
</div>
|
||||
|
||||
> [!tip]
|
||||
>
|
||||
>
|
||||
> **本软件使用 `Vue` + `TypeScript` + `JavaScript` 制作,使用 `Node.js` + `Electron` 完善系统级功能并打包。**
|
||||
|
||||
## 功能
|
||||
|
@ -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('无法获取配置文件');
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user