|
|
@ -1090,7 +1090,7 @@ const open = async (type: string, strategyCode: string, id?: number) => { |
|
|
|
if (data.condition) { |
|
|
|
formData.value.condition = JSON.parse(data.condition) |
|
|
|
formData.value.condition.forEach((item, index) => { |
|
|
|
if ((item.Operator == 'IN' || item.Operator == 'NOT IN')&& Array.isArray(item.Value)) { |
|
|
|
if ((item.Operator == 'IN' || item.Operator == 'NOT IN')&& !Array.isArray(item.Value)) { |
|
|
|
item.Value = item.Value.split(',') |
|
|
|
} |
|
|
|
}) |
|
|
|