Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

index.js 449B

2 månader sedan
1234567891011121314151617181920
  1. import tab from './tab'
  2. import auth from './auth'
  3. import cache from './cache'
  4. import modal from './modal'
  5. import download from './download'
  6. export default {
  7. install(Vue) {
  8. // 页签操作
  9. Vue.prototype.$tab = tab
  10. // 认证对象
  11. Vue.prototype.$auth = auth
  12. // 缓存对象
  13. Vue.prototype.$cache = cache
  14. // 模态框对象
  15. Vue.prototype.$modal = modal
  16. // 下载文件
  17. Vue.prototype.$download = download
  18. }
  19. }