Closed huangyedie closed 1 year ago
Example: model:[{ A:"123" },{ A:"345" }]。
How should I configure rules to traverse matches?
If the first one matches, model [0]. A=="123", obviously this can only verify whether the first data matches.
solve:
.Any(r => r.A== \"1213\" || r.A== \"2345\")
Example: model:[{ A:"123" },{ A:"345" }]。
How should I configure rules to traverse matches?
If the first one matches, model [0]. A=="123", obviously this can only verify whether the first data matches.