From 428f553c34d88610de9222cc2928cdecbdb71b8a Mon Sep 17 00:00:00 2001 From: HibiKier <775757368@qq.com> Date: Fri, 11 Jul 2025 11:26:18 +0800 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20=E6=9B=B4=E6=96=B0RegisterConfig?= =?UTF-8?q?=E7=B1=BB=E4=B8=AD=E7=9A=84type=E5=AD=97=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- zhenxun/configs/utils/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zhenxun/configs/utils/models.py b/zhenxun/configs/utils/models.py index 4edca6c4..d3c0db7f 100644 --- a/zhenxun/configs/utils/models.py +++ b/zhenxun/configs/utils/models.py @@ -65,7 +65,7 @@ class RegisterConfig(BaseModel): """配置注解""" default_value: Any | None = None """默认值""" - type: Any = str + type: Any = None """参数类型""" arg_parser: Callable | None = None """参数解析"""