mirror of
https://gitee.com/nocobase/nocobase.git
synced 2025-05-05 05:29:26 +08:00
refactor(plugin-workflow): adjust date type of variable (#6717)
This commit is contained in:
parent
aa6a46924a
commit
817ba15a91
@ -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 } }
|
||||
|
Loading…
x
Reference in New Issue
Block a user