Procházet zdrojové kódy

更新版本历史号

Ryuiso před 1 měsícem
rodič
revize
a133957497

+ 7 - 7
src/help/components/UpdateNotification/version.ts

@@ -4,12 +4,12 @@
  */
 
 // 当前版本号
-export const CURRENT_VERSION = '1.2';
+export const CURRENT_VERSION = '1.2.1';
 
 // 版本历史记录
 export const VERSION_HISTORY = [
   {
-    version: '1.2',
+    version: '1.2.1',
     date: '2025-12-11',
     description: '本次更新涉及知识库中的一些功能改进,解决了使用过程中的一些体验问题。',
   },
@@ -29,9 +29,9 @@ export const getCurrentVersion = (): string => {
 
 /**
  * 比较版本号
- * @param v1 
- * @param v2 
- * @returns 
+ * @param v1
+ * @param v2
+ * @returns
  */
 export const compareVersions = (v1: string, v2: string): number => {
   const parts1 = v1.split('.').map(Number);
@@ -49,8 +49,8 @@ export const compareVersions = (v1: string, v2: string): number => {
 };
 
 /**
- * 
- * @param lastViewedVersion 
+ *
+ * @param lastViewedVersion
  * @returns true: 需要显示, false: 不需要显示
  */
 export const shouldShowUpdate = (lastViewedVersion: string | null): boolean => {

+ 1 - 18
src/help/docs/update-history/index.md

@@ -3,7 +3,7 @@
 
 <hr style="margin: 48px 0; border-top: 1px solid #f5f5f5;"/>
 
-## 2025-12-11 版本公告 (v1.2)
+## 2025-12-11 版本公告 (v1.2.1)
 本次更新涉及知识库中的一些功能改进,解决了使用过程中的一些体验问题。
 
 ### 【最新活动】
@@ -54,23 +54,6 @@
   </div>
 </div>
 
-### 【网络错误处理】
-
-<div class="update-item">
-  <div class="update-item-image">
-    <img src="/update/v1_2-p3.png" alt="" />
-  </div>
-  <div class="update-item-content">
-      <h3>处理了集团防火墙发送的网络错误信息</h3>
-    <ul>
-      <li>增强403和504错误处理逻辑</li>
-      <li>拦截了集团防火墙网络超时导致的HTML格式的错误信息</li>
-    </ul>
-  </div>
-</div>  
-
-
-
 <hr style="margin: 48px 0; border-top: 1px solid #f5f5f5;"/>
 
 ## 2025-11-04 版本公告 (v1.1)