From cdfd37f919b5e85e001fd44ae3e2dcc7c4ea528a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=A5=BF=E7=93=9C=C2=B0?= Date: Thu, 12 Jun 2025 17:20:17 +0800 Subject: [PATCH] dev --- backend/api/types/open.py | 2 +- backend/core/character/GF/gunner_female/spitfire_female.py | 2 +- backend/openapi | 2 +- .../src/pages/Character/Skill/components/SkillDetail/index.tsx | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/backend/api/types/open.py b/backend/api/types/open.py index 43a41457..07274b0d 100644 --- a/backend/api/types/open.py +++ b/backend/api/types/open.py @@ -66,7 +66,7 @@ class IAttribute(BaseModel): """技能等级""" optionDesc: str | None = Field(None, description='技能选项描述') """技能选项描述""" - optionValue: dict[str, float | str] | None = Field(None, description='技能选项值') + optionValue: dict[str, float | str | None] | None = Field(None, description='技能选项值') class ILevelInfo(BaseModel): diff --git a/backend/core/character/GF/gunner_female/spitfire_female.py b/backend/core/character/GF/gunner_female/spitfire_female.py index cc07de05..043a0d78 100644 --- a/backend/core/character/GF/gunner_female/spitfire_female.py +++ b/backend/core/character/GF/gunner_female/spitfire_female.py @@ -540,7 +540,7 @@ class Skill21(ActiveSkill): self.skillRation *= 1.5 def vp_2(self): - self.cd = 13.5 + self.cd = 15 self.skillRation /= 3 diff --git a/backend/openapi b/backend/openapi index 1ffab46c..f861c337 160000 --- a/backend/openapi +++ b/backend/openapi @@ -1 +1 @@ -Subproject commit 1ffab46c25a4ac7d2d634a63fe22a9eb0ed4504b +Subproject commit f861c337ffbb8d5dc57f0fe0bc8fa313d58e0dfb diff --git a/frontend/src/pages/Character/Skill/components/SkillDetail/index.tsx b/frontend/src/pages/Character/Skill/components/SkillDetail/index.tsx index 159d039d..d7781260 100644 --- a/frontend/src/pages/Character/Skill/components/SkillDetail/index.tsx +++ b/frontend/src/pages/Character/Skill/components/SkillDetail/index.tsx @@ -72,7 +72,7 @@ export default defineComponent({ const key = match.replace(/[{}]/g, '') // Only access if key matches the expected pattern if (/^value.+/.test(key)) { - const value = skillInfo.value?.attribute.optionValue[key as `value${string}`] + const value = skillInfo.value?.attribute.optionValue[key as `value${string}`] ?? '-' if (value) { a = a.replace( match,