bugfix
This commit is contained in:
parent
d15f22a293
commit
34ab7f86cc
@ -124,7 +124,7 @@ def check_value(field, spec_value, data_value):
|
|||||||
raise Exception(e)
|
raise Exception(e)
|
||||||
|
|
||||||
if (arr[0] is None or arr[-1] is None) and field.type == 'str':
|
if (arr[0] is None or arr[-1] is None) and field.type == 'str':
|
||||||
e = f'字符串类型between方法的两个值任何一个都不能为空')
|
e = f'字符串类型between方法的两个值任何一个都不能为空'
|
||||||
exception(e)
|
exception(e)
|
||||||
raise e
|
raise e
|
||||||
else:
|
else:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user