diff --git a/tauri-app/src/api/modules/localStorage.ts b/tauri-app/src/api/modules/localStorage.ts
index 925a9ff..371fc7a 100644
--- a/tauri-app/src/api/modules/localStorage.ts
+++ b/tauri-app/src/api/modules/localStorage.ts
@@ -93,6 +93,8 @@ export const localProjectApi = {
id: meta.id,
title: meta.title,
topic: meta.topic,
+ categoryCode: meta.categoryCode,
+ subcategoryCode: meta.subcategoryCode,
status: meta.status,
currentStep: meta.currentStep,
createdAt: meta.createdAt,
diff --git a/tauri-app/src/components/RechargeModal/RechargeModal.tsx b/tauri-app/src/components/RechargeModal/RechargeModal.tsx
index abfe327..d4d04e1 100644
--- a/tauri-app/src/components/RechargeModal/RechargeModal.tsx
+++ b/tauri-app/src/components/RechargeModal/RechargeModal.tsx
@@ -179,10 +179,11 @@ export default function RechargeModal({
const orderId = orderIdRef.current;
if (!orderId) {return;}
- // 二维码已过期,直接提示
- if (Date.now() >= expireAtRef.current) {
+ // 二维码已过期,明确提示用户
+ if (isExpired || Date.now() >= expireAtRef.current) {
clearTimers();
setIsExpired(true);
+ toast.info('二维码已过期,请点击刷新二维码或重新下单');
return;
}
@@ -353,9 +354,9 @@ export default function RechargeModal({