main.js 275 B

1234567891011121314151617
  1. import Vue from 'vue'
  2. import App from './App'
  3. import request from "request.js"
  4. // 挂载到全局
  5. Vue.prototype.$schema = request.role;
  6. Vue.prototype.$url = request.nav;
  7. Vue.config.productionTip = false
  8. App.mpType = 'app'
  9. const app = new Vue({
  10. ...App
  11. })
  12. app.$mount()