main.js 426 B

12345678910111213141516171819202122
  1. import Vue from 'vue'
  2. import App from './App'
  3. import store from './store'
  4. import uniAsync from '@/utils/uni-async.js'// uni api async 化
  5. Vue.prototype.$uniAsync = uniAsync
  6. import w_md5 from "./js_sdk/zww-md5/w_md5.js"
  7. Vue.prototype.$md5 = w_md5;//挂在MD5
  8. // vant 全局组件
  9. import './utils/vantRegister';
  10. Vue.config.productionTip = false
  11. App.mpType = 'app'
  12. const app = new Vue({
  13. store,
  14. ...App
  15. })
  16. app.$mount()