@baosight/er4j 0.0.40 → 0.0.41
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/er4j-dist/er4j.es.js
CHANGED
|
@@ -31443,9 +31443,10 @@ var D;
|
|
|
31443
31443
|
* @param value 相关值
|
|
31444
31444
|
*/
|
|
31445
31445
|
filterDropDownCascaderDataSource(r, i, n) {
|
|
31446
|
+
console.log(r, i, n, "filterDropDownCascaderDataSource");
|
|
31446
31447
|
const s = [];
|
|
31447
31448
|
if (n instanceof Array && n.length > 0 ? s.push(...n) : e.Core.toString(n).length > 0 && s.push(e.Core.toString(n)), r && r.length > 0 && i.length > 0 && s.length > 0) {
|
|
31448
|
-
const c = i.indexOf(" like ") >= 0 ? "like" : i.indexOf("
|
|
31449
|
+
const c = i.indexOf(" like ") >= 0 ? "like" : i.indexOf("<>") >= 0 ? "<>" : "=", h = i.split(c);
|
|
31449
31450
|
if (h.length === 2) {
|
|
31450
31451
|
const p = h[0].trim(), E = h[1].trim(), m = [];
|
|
31451
31452
|
return r.forEach((I) => {
|
|
@@ -31463,9 +31464,11 @@ var D;
|
|
|
31463
31464
|
m.push(I);
|
|
31464
31465
|
break;
|
|
31465
31466
|
}
|
|
31466
|
-
} else if (c === "<>"
|
|
31467
|
-
|
|
31468
|
-
|
|
31467
|
+
} else if (c === "<>") {
|
|
31468
|
+
if (F !== s[M]) {
|
|
31469
|
+
m.push(I);
|
|
31470
|
+
break;
|
|
31471
|
+
}
|
|
31469
31472
|
} else if (F === s[M]) {
|
|
31470
31473
|
m.push(I);
|
|
31471
31474
|
break;
|