index.js 217 B

1234567891011
  1. import cache from './cache'
  2. import modal from './modal'
  3. export default {
  4. install(Vue) {
  5. // 缓存对象
  6. Vue.prototype.$cache = cache
  7. // 模态框对象
  8. Vue.prototype.$modal = modal
  9. }
  10. }