first commit

This commit is contained in:
2026-01-18 09:52:48 +08:00
commit 836bdc9409
584 changed files with 40891 additions and 0 deletions
+11
View File
@@ -0,0 +1,11 @@
/**
* @description 自动import导入所有 api 模块
*/
const files = import.meta.glob('./module/*.js', { eager: true })
const modules = {}
Object.keys(files).forEach(key => {
modules[key.replace(/^\.\/module\/(.*)\.js$/g, '$1')] = files[key].default
})
export default modules