25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

39 lines
706 B

  1. import Vue from 'vue';
  2. import App from './App';
  3. import dayjs from './utils/dayjs.min.js'
  4. import store from './store/index.js'
  5. import ZAudio from '@/components/uniapp-zaudio/index.js'
  6. Vue.config.productionTip = false;
  7. let zaudio = new ZAudio({
  8. continuePlay: false, //续播
  9. autoPlay: false, // 自动播放 部分浏览器不支持
  10. })
  11. Vue.prototype.$zaudio = zaudio
  12. Vue.prototype.$dayjs = dayjs;
  13. import common from 'utils/common.js'
  14. Vue.prototype.$noMultipleClicks = common.noMultipleClicks;
  15. // 引入全局uView
  16. import uView from 'uview-ui'
  17. Vue.use(uView);
  18. import http from '@/utils/http.js'
  19. Vue.use(http, app)
  20. App.mpType = 'app';
  21. const app = new Vue({
  22. ...App,
  23. store
  24. });
  25. app.$mount();