Showing
1 changed file
with
9 additions
and
1 deletions
... | ... | @@ -89,8 +89,16 @@ export const genActionData = (actionData) => { |
89 | 89 | type: item.operationType, |
90 | 90 | operation: pred.operation, |
91 | 91 | ignoreCase: item.operationType === 'STRING' ? pred.ignoreCase : undefined, |
92 | + // value: { | |
93 | + // defaultValue: pred.value, | |
94 | + // // userValue: null, | |
95 | + // // dynamicValue: null, | |
96 | + // }, | |
92 | 97 | value: { |
93 | - defaultValue: pred.value, | |
98 | + defaultValue: | |
99 | + item.operationType === 'DATE_TIME' | |
100 | + ? Number(formatToDateTime(pred.value, 'x')) | |
101 | + : pred.value, | |
94 | 102 | // userValue: null, |
95 | 103 | // dynamicValue: null, |
96 | 104 | }, | ... | ... |