From 9bf9515a8c6d7e584d20dfdffeea9f8f1cc085b2 Mon Sep 17 00:00:00 2001 From: BTMuli Date: Sat, 9 Aug 2025 17:02:42 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=9A=B8=20=E5=B9=BD=E5=A2=83=E5=8D=B1?= =?UTF-8?q?=E6=88=98=E9=80=86=E5=BA=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/plugins/Sqlite/modules/userChallenge.ts | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/plugins/Sqlite/modules/userChallenge.ts b/src/plugins/Sqlite/modules/userChallenge.ts index 2ce21d33..cb82dffb 100644 --- a/src/plugins/Sqlite/modules/userChallenge.ts +++ b/src/plugins/Sqlite/modules/userChallenge.ts @@ -1,7 +1,7 @@ /** * @file sqlite/modules/userChallenge.ts * @description 幽境危战模块 - * @since Beta v0.8.0 + * @since Beta v0.7.10 */ import { path } from "@tauri-apps/api"; @@ -72,7 +72,7 @@ async function getAllUid(): Promise> { /** * @description 获取挑战数据 - * @since Beta v0.8.0 + * @since Beta v0.7.10 * @param {string} [uid] - 游戏UID * @return {Promise>} - 挑战数据 */ @@ -87,7 +87,8 @@ async function getChallenge(uid?: string): Promise>( `SELECT * FROM HardChallenge - WHERE uid = ?;`, + WHERE uid = ? + ORDER BY id DESC;`, [uid], ); }