fix: multi parameters should always allowed
This commit is contained in:
parent
34fb189a94
commit
92c01ac62d
1 changed files with 2 additions and 0 deletions
|
|
@ -199,6 +199,8 @@ class CollectVariable:
|
||||||
new_params = []
|
new_params = []
|
||||||
namespace = self.objectspace.namespace
|
namespace = self.objectspace.namespace
|
||||||
params_data = list(CONVERT_OPTION.get(self.user_type, {}).get("params", {}))
|
params_data = list(CONVERT_OPTION.get(self.user_type, {}).get("params", {}))
|
||||||
|
if params_data:
|
||||||
|
params_data.extend(["multi_length", "multi_max_length", "multi_min_length"])
|
||||||
for key, val in params.items():
|
for key, val in params.items():
|
||||||
if params_data and key not in params_data:
|
if params_data and key not in params_data:
|
||||||
raise DictConsistencyError(
|
raise DictConsistencyError(
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue