修复部分情况下加载草稿不展示最新草稿内容的Bug

This commit is contained in:
Ember 2024-07-26 08:39:01 +08:00
parent 17280eb48c
commit bb6a27fe53
3 changed files with 7 additions and 3 deletions

View File

@ -661,7 +661,7 @@ document.getElementById('LoadDraft').addEventListener('click', async () => {
const draftURL = `https://download.xn--xhq44jb2fzpc.com/upload/${curemail}/${currentPostId}/draft.json`; const draftURL = `https://download.xn--xhq44jb2fzpc.com/upload/${curemail}/${currentPostId}/draft.json`;
try { try {
const response = await fetch(draftURL); const response = await fetchNoCache(draftURL);
if (!response.ok) { if (!response.ok) {
if (response.status === 404) { if (response.status === 404) {
alert("没有草稿记录!"); alert("没有草稿记录!");

View File

@ -7,7 +7,7 @@
<meta name="robots" content="index, follow"> <meta name="robots" content="index, follow">
<title>更新日志 | NEU小站</title> <title>更新日志 | NEU小站</title>
<meta name="keywords" content=""> <meta name="keywords" content="">
<meta name="description" content="2024.07 07.25 修复了内容详情页面不展示最新头像的Bug 配置并优化资源存储子域名 07.03 升级资源内容系统接入投稿用户系统 升级投稿系统为投稿者中心引入投稿用户系统 07.02 新增资源投稿系统 投稿系统优化CORS安全机制以保护文件 2024.06 06.30 优化了资源密码验证机制 06.29 增加资源密码保护功能 06.27 新增 $LaTeX$ 数学公式支持 新增投稿者头像 06.24 优化首页新生指南样式 为网站配置资源防盗链 优化评论区表情稳定性 06.23 新增新生指南板块 06.22 优化主页背景图片稳定性 06.20 更新主页LOGO 更新404页面样式 06.19 更新网站主页样式电脑端和手机端 更新主页按钮样式 06.18 更新网站图标 <meta name="description" content="2024.07 07.26 修复部分情况下加载草稿不展示最新草稿内容的Bug 07.25 修复了内容详情页面不展示最新头像的Bug 配置并优化资源存储子域名 07.03 升级资源内容系统接入投稿用户系统 升级投稿系统为投稿者中心引入投稿用户系统 07.02 新增资源投稿系统 投稿系统优化CORS安全机制以保护文件 2024.06 06.30 优化了资源密码验证机制 06.29 增加资源密码保护功能 06.27 新增 $LaTeX$ 数学公式支持 新增投稿者头像 06.24 优化首页新生指南样式 为网站配置资源防盗链 优化评论区表情稳定性 06.23 新增新生指南板块 06.22 优化主页背景图片稳定性 06.20 更新主页LOGO 更新404页面样式 06.19 更新网站主页样式电脑端和手机端 更新主页按钮样式 06.18 更新网站图标
评论区启用贴吧表情。 评论区启用贴吧表情。
优化投稿作者样式。 优化投稿作者样式。
优化网站夜间模式样式。 优化网站夜间模式样式。
@ -235,6 +235,10 @@
<div class="post-content"> <div class="post-content">
<h2 id="202407">2024.07<a hidden class="anchor" aria-hidden="true" href="#202407">#</a></h2> <h2 id="202407">2024.07<a hidden class="anchor" aria-hidden="true" href="#202407">#</a></h2>
<h3 id="0726">07.26<a hidden class="anchor" aria-hidden="true" href="#0726">#</a></h3>
<ul>
<li>修复部分情况下加载草稿不展示最新草稿内容的Bug。</li>
</ul>
<h3 id="0725">07.25<a hidden class="anchor" aria-hidden="true" href="#0725">#</a></h3> <h3 id="0725">07.25<a hidden class="anchor" aria-hidden="true" href="#0725">#</a></h3>
<ul> <ul>
<li>修复了内容详情页面不展示最新头像的Bug。</li> <li>修复了内容详情页面不展示最新头像的Bug。</li>

View File

@ -795,7 +795,7 @@ async function fetchNoCache(url) {
</style> </style>
<script src="https://download.xn--xhq44jb2fzpc.com/upload/submission.js?v=1.0.4"></script> <script src="https://download.xn--xhq44jb2fzpc.com/upload/submission.js?v=1.0.5"></script>