rebuild hrm

This commit is contained in:
2026-04-13 09:30:59 +08:00
parent 44a98495ab
commit cd31c74da8
12034 changed files with 548007 additions and 451275 deletions

View File

@@ -1,7 +1,7 @@
import { flatten } from './flatten.mjs';
function flatMap(arr, iteratee, depth = 1) {
return flatten(arr.map(item => iteratee(item)), depth);
return flatten(arr.map((item, index) => iteratee(item, index, arr)), depth);
}
export { flatMap };