仪表盘
版本库
文件存储
活动
搜索
登录
张磊磊
/
supipe
分支自
supipe
概况
提交次数
目录
文档
分支
对比
blame
|
历史
|
原始文档
修改接口信息
叶松
2023-11-16
95f1cf4910b31fa661f1464e03379bd0a99e9d4e
[~zhangleilei/supipe.git]
/
web
/
src
/
plugins
/
index.js
1
2
3
4
5
6
7
8
/**
* 统一管理全局挂在插件或实例方法
*/
import Vue from "vue";
import api from '../api/index'; // 引入api接口模块
// 添加Vue实例方法
Vue.prototype.$api = api;