diff --git a/src/hooks/Rule/useDataHandler.ts b/src/hooks/Rule/useDataHandler.ts index 39b2a587f..56ee3299a 100644 --- a/src/hooks/Rule/useDataHandler.ts +++ b/src/hooks/Rule/useDataHandler.ts @@ -275,6 +275,8 @@ export const useActionDataHandler = (): { ;['value', 'isint', 'isbinary'].forEach((key) => { if (/^(true|false)$/i.test(item[key])) { ret[key] = /^true/i.test(item[key]) + } else if (!item[key]) { + Reflect.deleteProperty(ret, key) } }) if (NUM_REG.test(item.value)) {