diff --git a/packages/plugins/@nocobase/plugin-workflow/src/client/variable.tsx b/packages/plugins/@nocobase/plugin-workflow/src/client/variable.tsx index 87d358cc34..d70b3c4e82 100644 --- a/packages/plugins/@nocobase/plugin-workflow/src/client/variable.tsx +++ b/packages/plugins/@nocobase/plugin-workflow/src/client/variable.tsx @@ -125,20 +125,8 @@ export const systemOptions = { export const BaseTypeSets = { boolean: new Set(['checkbox']), number: new Set(['integer', 'number', 'percent']), - string: new Set([ - 'input', - 'password', - 'email', - 'phone', - 'select', - 'radioGroup', - 'text', - 'markdown', - 'richText', - 'expression', - 'time', - ]), - date: new Set(['date', 'createdAt', 'updatedAt']), + string: new Set(['input', 'password', 'email', 'phone', 'select', 'radioGroup', 'text', 'markdown', 'richText']), + date: new Set(['datetime', 'datetimeNoTz', 'dateOnly', 'createdAt', 'updatedAt']), }; // { type: 'reference', options: { collection: 'users', multiple: false } }