mirror of
https://github.com/jumpserver/lina.git
synced 2026-01-13 19:35:24 +00:00
perf: 优化 Json attr field 选择
This commit is contained in:
@@ -5,8 +5,8 @@ export const typeMatchMapper = {
|
||||
str: strMatchValues,
|
||||
bool: ['exact', 'not'],
|
||||
m2m: ['m2m'],
|
||||
ip: strMatchValues + ['ip_in'],
|
||||
int: strMatchValues + ['gte', 'lte'],
|
||||
ip: [...strMatchValues, 'ip_in'],
|
||||
int: [...strMatchValues, 'gte', 'lte'],
|
||||
select: ['in']
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user