Commit efa649c545fef8e1a3d28071eb989cdfe3220ab8
1 parent
cb92cfe2
fix: DEFECT-1625 新增模版,邮件配置再禁用情况下,模板应该是无法选择该禁用的配置的
Showing
1 changed file
with
1 additions
and
0 deletions
@@ -137,6 +137,7 @@ export const formSchema: FormSchema[] = [ | @@ -137,6 +137,7 @@ export const formSchema: FormSchema[] = [ | ||
137 | typeId = item.id; | 137 | typeId = item.id; |
138 | } | 138 | } |
139 | return { | 139 | return { |
140 | + disabled: item.messageType !== value, | ||
140 | label: item.configName, | 141 | label: item.configName, |
141 | value: item.id, | 142 | value: item.id, |
142 | status: item.status, | 143 | status: item.status, |