main.js 494 B

12345678910111213141516171819202122
  1. import Vue from 'vue'
  2. import App from './App'
  3. import Fly from 'flyio/dist/npm/wx'
  4. import store from '@/store/index'
  5. var fly = new Fly()
  6. fly.config.baseURL = "https://testapi.shuimuai.com/"
  7. fly.config.headers = {
  8. access_token:11,
  9. // 'Content-Type':'multipart/form-data; boundary=AaB03x'
  10. 'content-type':'application/x-www-form-urlencoded'
  11. }
  12. Vue.prototype.$fly = fly
  13. Vue.prototype.$store = store
  14. Vue.config.productionTip = false
  15. App.mpType = 'app'
  16. const app = new Vue(App)
  17. app.$mount()