fix: mlog validate bug
This commit is contained in:
parent
67d8ede2a4
commit
a4d23f534a
|
@ -297,8 +297,6 @@ class MlogSerializer(CustomModelSerializer):
|
|||
pass
|
||||
else:
|
||||
raise ValidationError('操作日期错误')
|
||||
if mtask.state != Mtask.MTASK_ASSGINED:
|
||||
raise ValidationError(f'{mtask.mgroup.name}_不可提交日志!')
|
||||
return attrs
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue