提交 | 用户 | 时间 | ||
0ca254 | 1 | import tab from './tab' |
A | 2 | import auth from './auth' |
3 | import cache from './cache' | |
4 | import modal from './modal' | |
5 | import download from './download' | |
6 | ||
7 | export default { | |
8 | install(Vue) { | |
9 | // 页签操作 | |
10 | Vue.prototype.$tab = tab | |
11 | // 认证对象 | |
12 | Vue.prototype.$auth = auth | |
13 | // 缓存对象 | |
14 | Vue.prototype.$cache = cache | |
15 | // 模态框对象 | |
16 | Vue.prototype.$modal = modal | |
17 | // 下载文件 | |
18 | Vue.prototype.$download = download | |
19 | } | |
20 | } |