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.
 
 
 

38 line
611 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. // 引入全局uView
  14. import uView from 'uview-ui'
  15. Vue.use(uView);
  16. import http from '@/utils/http.js'
  17. Vue.use(http, app)
  18. App.mpType = 'app';
  19. const app = new Vue({
  20. ...App,
  21. store
  22. });
  23. app.$mount();