fix: wpr delete在撤销时可以触发
This commit is contained in:
parent
443a818aec
commit
8928bb4307
|
@ -33,7 +33,7 @@ class Wpr(BaseModel):
|
|||
|
||||
if wpr:
|
||||
ins:Wpr = wpr
|
||||
if wpr and mb is None and wm is None and ins.version <=1:
|
||||
if wpr and mb is None and wm is None and ins.version <= 0: # 相当于撤回操作
|
||||
wpr.delete()
|
||||
return
|
||||
elif number:
|
||||
|
|
Loading…
Reference in New Issue