You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

12345678910111213141516171819202122232425262728293031323334353637383940
  1. import Vue from 'vue'
  2. import App from './App'
  3. import moment from 'moment'
  4. // import update from './common/update.js';
  5. //import store from './common/store.js';
  6. import store from './store';
  7. import {webSockRe,heartBeat,connectSocketInit} from './common/sockRequest.js'
  8. Vue.prototype.$webSockRe = webSockRe
  9. Vue.prototype.$heartBeat = heartBeat
  10. Vue.prototype.$connectSocketInit = connectSocketInit
  11. // Vue.prototype.$update = update
  12. Vue.prototype.$store = store
  13. import date from './common/date.js'
  14. Vue.prototype.getDate = date.getDate
  15. Vue.prototype.getMonday = date.getMonday
  16. Vue.prototype.getMonth = date.getMonth
  17. Vue.prototype.getYear = date.getYear
  18. Vue.prototype.num = date.num
  19. Vue.prototype.reparam = date.reparam
  20. Vue.prototype.getDistance = date.getDistance
  21. // Vue.use(uView);
  22. // Vue.prototype.$appupdate = appupdate
  23. Vue.prototype.$moment = moment
  24. moment.locale('zh-cn')
  25. Vue.config.productionTip = false
  26. App.mpType = 'app'
  27. const app = new Vue({
  28. ...App
  29. })
  30. app.$mount()