mirror of
https://github.com/nocobase/nocobase
synced 2024-11-15 12:54:05 +00:00
fix: linkage relationship data condition judgment failed (#1681)
This commit is contained in:
parent
dca370eacf
commit
cd78192f84
@ -65,12 +65,18 @@ http://ricostacruz.com/cheatsheets/umdjs.html
|
|||||||
$lte: function (a, b, c) {
|
$lte: function (a, b, c) {
|
||||||
return c === undefined ? a <= b : a <= b && b <= c;
|
return c === undefined ? a <= b : a <= b && b <= c;
|
||||||
},
|
},
|
||||||
|
$exists: function (a) {
|
||||||
|
return jsonLogic.truthy(a);
|
||||||
|
},
|
||||||
$notEmpty: function (a) {
|
$notEmpty: function (a) {
|
||||||
return jsonLogic.truthy(a);
|
return jsonLogic.truthy(a);
|
||||||
},
|
},
|
||||||
$empty: function (a) {
|
$empty: function (a) {
|
||||||
return !jsonLogic.truthy(a);
|
return !jsonLogic.truthy(a);
|
||||||
},
|
},
|
||||||
|
$notExists: function (a) {
|
||||||
|
return !jsonLogic.truthy(a);
|
||||||
|
},
|
||||||
'%': function (a, b) {
|
'%': function (a, b) {
|
||||||
return a % b;
|
return a % b;
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user