diff --git a/app/core/config.py b/app/core/config.py index fc24fcf..454f3db 100644 --- a/app/core/config.py +++ b/app/core/config.py @@ -520,7 +520,7 @@ class AppConfig: if current_stage: item_match: List[str] = re.findall( - r"([\u4e00-\u9fa5]+)\s*:\s*([\d,]+)(?:\s*\(\+[\d,]+\))?", line + r"([\u4e00-\u9fa5A-Za-z0-9\-]+)\s*:\s*([\d,]+)(?:\s*\(\+[\d,]+\))?", line ) for item, total in item_match: # 解析数值时去掉逗号 (如 2,160 -> 2160)