首页+登录页

This commit is contained in:
2025-08-07 16:39:37 +08:00
commit a161520e7b
60 changed files with 5456 additions and 0 deletions

12
src/config/store.ts Normal file
View File

@ -0,0 +1,12 @@
const files = import.meta.glob("@/stores/*.ts", {
eager: true,
});
const store: Record<string, any> = {};
// console.log("stores封装",files);
for (const i in files) {
const t = i.split("/");
const name = t[t.length - 1].split(".")[0];
store[name] = files[i];
}
export default store;