fix: linkage relationship data condition judgment failed (#1681)

This commit is contained in:
katherinehhh 2023-04-14 22:46:21 +08:00 committed by GitHub
parent dca370eacf
commit cd78192f84
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -65,12 +65,18 @@ http://ricostacruz.com/cheatsheets/umdjs.html
$lte: function (a, b, c) {
return c === undefined ? a <= b : a <= b && b <= c;
},
$exists: function (a) {
return jsonLogic.truthy(a);
},
$notEmpty: function (a) {
return jsonLogic.truthy(a);
},
$empty: function (a) {
return !jsonLogic.truthy(a);
},
$notExists: function (a) {
return !jsonLogic.truthy(a);
},
'%': function (a, b) {
return a % b;
},