仪表盘
版本库
文件存储
活动
搜索
登录
main
/
smart-web
概况
操作记录
提交次数
目录
文档
分支
对比
blame
|
历史
|
原始文档
Merge branch 'master' of http://www.beijingsoft.cn:9090/r/smart-web
lzhe
2024-06-14
963a2313f4f8959715293d38f69894078150d508
[smart-web.git]
/
src
/
api
/
index.js
1
2
3
4
5
6
7
8
9
10
11
/**
* @description 自动import导入所有 api 模块
*/
const files = require.context('./model', false, /\.js$/)
const modules = {}
files.keys().forEach((key) => {
modules[key.replace(/(\.\/|\.js)/g, '')] = files(key).default
})
export default modules