修复部分浏览器缓存的BUG

This commit is contained in:
Ember 2024-07-03 20:06:53 +08:00
parent 9a03bd04af
commit 6210236452
2 changed files with 43 additions and 19 deletions

File diff suppressed because it is too large Load Diff

View File

@ -213,6 +213,14 @@ markdown 基本语法教程 空格与换行 markdown 语法对于空格与换行
<div class="post-content"> <div class="post-content">
<script>
async function fetchNoCache(url) {
const timestamp = new Date().getTime();
const noCacheUrl = `${url}?timestamp=${timestamp}`;
return fetch(noCacheUrl);
</script>
<div id="login"> <div id="login">
<h1>投稿者中心</h1> <h1>投稿者中心</h1>
<form id="loginForm"> <form id="loginForm">