index.js 509 B

1234567891011121314151617181920212223242526272829
  1. import Vue from 'vue'
  2. import browser from '@/utils/browser'
  3. // import {
  4. // $showLoading,
  5. // $showBroadcast,
  6. // $hideBroadcast,
  7. // } from '@/components/popupLayout'
  8. import {$showHotspot,$hideHotspot } from '@/components/hotspot/index.js'
  9. Vue.prototype.$bus = new Vue()
  10. Vue.mixin({
  11. data() {
  12. return {
  13. isMobile: browser.mobile
  14. }
  15. },
  16. methods: {
  17. $showHotspot,
  18. $hideHotspot
  19. // $showLoading,
  20. // $showBroadcast,
  21. // $hideBroadcast
  22. }
  23. })