fix: 修复简易模型无法显示浮窗 (#1240)
This commit is contained in:
parent
1f26744cef
commit
581440e056
@ -259,7 +259,7 @@ class ApplicationSerializer(serializers.Serializer):
|
||||
if application.work_flow is not None:
|
||||
work_flow = application.work_flow
|
||||
if work_flow is not None:
|
||||
for node in work_flow['nodes']:
|
||||
for node in work_flow.get('nodes', []):
|
||||
if node['id'] == 'base-node':
|
||||
input_field_list = node['properties']['input_field_list']
|
||||
if input_field_list is not None:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user