refactor: sort field should not has defaultValue (#3986)

This commit is contained in:
katherinehhh 2024-04-09 12:25:06 +08:00 committed by GitHub
parent 19f905d34c
commit 771fdf48fc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -23,7 +23,7 @@ export class SortFieldInterface extends CollectionFieldInterface {
}, },
}; };
availableTypes = ['bigInt', 'integer', 'sort']; availableTypes = ['bigInt', 'integer', 'sort'];
hasDefaultValue = true; hasDefaultValue = false;
properties = { properties = {
...defaultProps, ...defaultProps,
scopeKey: { scopeKey: {