fix:作业未定义技能使用次数报错
This commit is contained in:
parent
5c19e8eaaf
commit
abbf40b79e
1 changed files with 1 additions and 1 deletions
|
@ -7,7 +7,7 @@ class Oper(BaseModel):
|
|||
name: str
|
||||
skill: Optional[int] = 1
|
||||
skill_usage: Optional[int] = 0
|
||||
skill_times: Optional[int] = None
|
||||
skill_times: Optional[int] = 1
|
||||
|
||||
def __eq__(self, other):
|
||||
if isinstance(other, Oper):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue