修复部分浏览器缓存的BUG
This commit is contained in:
parent
9a03bd04af
commit
6210236452
File diff suppressed because it is too large
Load Diff
@ -213,7 +213,15 @@ markdown 基本语法教程 空格与换行 markdown 语法对于空格与换行
|
||||
|
||||
<div class="post-content">
|
||||
|
||||
<div id="login">
|
||||
<script>
|
||||
|
||||
async function fetchNoCache(url) {
|
||||
const timestamp = new Date().getTime();
|
||||
const noCacheUrl = `${url}?timestamp=${timestamp}`;
|
||||
return fetch(noCacheUrl);
|
||||
|
||||
</script>
|
||||
<div id="login">
|
||||
<h1>投稿者中心</h1>
|
||||
<form id="loginForm">
|
||||
<label for="email">邮箱:</label>
|
||||
|
Loading…
x
Reference in New Issue
Block a user