mirror of
https://gitee.com/huangge1199_admin/vue-pro.git
synced 2025-02-15 16:50:34 +08:00
12 lines
206 B
JavaScript
12 lines
206 B
JavaScript
|
import cache from './cache'
|
||
|
import modal from './modal'
|
||
|
|
||
|
export default {
|
||
|
install(Vue) {
|
||
|
// 缓存对象
|
||
|
Vue.prototype.$cache = cache
|
||
|
// 模态框对象
|
||
|
Vue.prototype.$modal = modal
|
||
|
}
|
||
|
}
|