fix:作业未定义技能使用次数报错
This commit is contained in:
parent
9891b78933
commit
feafe65b1d
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…
Reference in a new issue