Closed wangjhfree closed 5 years ago
for name, value in form_component_values.item(): data = {'name': name} if isinstance(value, (list, tuple)): if len(value) > 1: data['ext_value'] = value[1] value = value[0] data['value'] = value form_component_value_list.append(data)
form_component_values参数传入 OrderedDict出错,迭代现在应该是form_component_values.items(),望修复。
1.1.6 版本中已修复,谢谢
for name, value in form_component_values.item(): data = {'name': name} if isinstance(value, (list, tuple)): if len(value) > 1: data['ext_value'] = value[1] value = value[0] data['value'] = value form_component_value_list.append(data)
form_component_values参数传入 OrderedDict出错,迭代现在应该是form_component_values.items(),望修复。