main.js 542 B

1234567891011121314151617181920212223
  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.baseURL = process.env.REQUEST_URI
  8. fly.config.headers = {
  9. access_token:11,
  10. // 'Content-Type':'multipart/form-data; boundary=AaB03x'
  11. 'content-type':'application/x-www-form-urlencoded'
  12. }
  13. Vue.prototype.$fly = fly
  14. Vue.prototype.$store = store
  15. Vue.config.productionTip = false
  16. App.mpType = 'app'
  17. const app = new Vue(App)
  18. app.$mount()