refactor: url& sequence support availableType as string (#3126)

This commit is contained in:
katherinehhh 2023-12-01 16:38:34 +08:00 committed by GitHub
parent a436b59268
commit 52c83cadb3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 0 deletions

View File

@ -15,6 +15,7 @@ export const url: IField = {
'x-component': 'Input.URL', 'x-component': 'Input.URL',
}, },
}, },
availableTypes: ['string'],
schemaInitialize(schema: ISchema, { block }) {}, schemaInitialize(schema: ISchema, { block }) {},
properties: { properties: {
...defaultProps, ...defaultProps,

View File

@ -281,6 +281,7 @@ export const sequence: IField = {
'x-component-props': {}, 'x-component-props': {},
}, },
}, },
availableTypes: ['string'],
hasDefaultValue: false, hasDefaultValue: false,
filterable: { filterable: {
operators: interfacesProperties.operators.string, operators: interfacesProperties.operators.string,