first commit

This commit is contained in:
2025-12-29 14:59:44 +08:00
commit 10c3fbb0d7
5315 changed files with 795443 additions and 0 deletions

8
node_modules/vant/es/utils/closest.mjs generated vendored Normal file
View File

@@ -0,0 +1,8 @@
function closest(arr, target) {
return arr.reduce(
(pre, cur) => Math.abs(pre - target) < Math.abs(cur - target) ? pre : cur
);
}
export {
closest
};