Commit bcbdb448fab8b914ad4cb9cb793c59dbc17c1a2b

Authored by fengtao
1 parent d0f93b3e

fix:DEFECT-474 修复此条件没有产生告警

... ... @@ -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 },
... ...