fix: array operators schema

This commit is contained in:
chenos 2022-04-13 23:17:48 +08:00
parent a69c4d7845
commit 9ffe6418f9

View File

@ -12,22 +12,34 @@ export const array = [
label: '{{t("is")}}', label: '{{t("is")}}',
value: '$match', value: '$match',
selected: true, selected: true,
schema: { 'x-component': 'Select' }, schema: {
'x-component': 'Select',
'x-component-props': { mode: 'tags' },
},
}, },
{ {
label: '{{t("is not")}}', label: '{{t("is not")}}',
value: '$notMatch', value: '$notMatch',
schema: { 'x-component': 'Select' }, schema: {
'x-component': 'Select',
'x-component-props': { mode: 'tags' },
},
}, },
{ {
label: '{{t("contains")}}', label: '{{t("contains")}}',
value: '$anyOf', value: '$anyOf',
schema: { 'x-component': 'Select' }, schema: {
'x-component': 'Select',
'x-component-props': { mode: 'tags' },
},
}, },
{ {
label: '{{t("does not contain")}}', label: '{{t("does not contain")}}',
value: '$noneOf', value: '$noneOf',
schema: { 'x-component': 'Select' }, schema: {
'x-component': 'Select',
'x-component-props': { mode: 'tags' },
},
}, },
{ label: '{{t("is empty")}}', value: '$empty', noValue: true }, { label: '{{t("is empty")}}', value: '$empty', noValue: true },
{ label: '{{t("is not empty")}}', value: '$notEmpty', noValue: true }, { label: '{{t("is not empty")}}', value: '$notEmpty', noValue: true },