mirror of
https://github.com/Tencent/tmagic-editor.git
synced 2025-04-05 19:41:40 +08:00
fix(utils): <=条件编译出错
This commit is contained in:
parent
5a5288c9da
commit
acab44aaa4
@ -300,7 +300,7 @@ export const compiledCond = (op: string, fieldValue: any, value: any, range: num
|
||||
case '<':
|
||||
return fieldValue < value;
|
||||
case '<=':
|
||||
return fieldValue >= value;
|
||||
return fieldValue <= value;
|
||||
case 'between':
|
||||
return range.length > 1 && fieldValue >= range[0] && fieldValue <= range[1];
|
||||
case 'not_between':
|
||||
|
Loading…
x
Reference in New Issue
Block a user