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

20
node_modules/vant/es/composables/use-refs.mjs generated vendored Normal file
View File

@@ -0,0 +1,20 @@
import { ref, onBeforeUpdate } from "vue";
function useRefs() {
const refs = ref([]);
const cache = [];
onBeforeUpdate(() => {
refs.value = [];
});
const setRefs = (index) => {
if (!cache[index]) {
cache[index] = (el) => {
refs.value[index] = el;
};
}
return cache[index];
};
return [refs, setRefs];
}
export {
useRefs
};