refactor: view collection float type field supports number and percent (#2653)

This commit is contained in:
katherinehhh 2023-09-15 11:33:59 +08:00 committed by GitHub
parent a484e891aa
commit 1b80930065
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -22,7 +22,7 @@ export const number: IField = {
}, },
}, },
}, },
availableTypes: ['double'], availableTypes: ['double', 'float'],
hasDefaultValue: true, hasDefaultValue: true,
properties: { properties: {
...defaultProps, ...defaultProps,