仪表盘
版本库
文件存储
活动
搜索
登录
main
/
mom-before
mom前端
概况
操作记录
提交次数
目录
文档
分支
对比
blame
|
历史
|
原始文档
首次提交
李林
2023-07-31
3306f59e3129058312cd4739ed0ea0f88d74d025
[mom-before.git]
/
src
/
assets
/
api
/
controller.js
1
2
3
4
5
6
7
8
9
10
11
const url = {
"enter": "user/enter", //登录
"selectTreeByMaterial": "material/selectTreeByMaterial" //查询物料的树
}
export default function(Vue) {
//添加全局API
Vue.prototype.$api = {
url
}
}