球星卡微信小程序
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.

22 lines
509 B

  1. import Vue from 'vue'
  2. import App from './App'
  3. import uView from '@/uni_modules/uview-ui'
  4. import mixin from '@/common/mixin.js';
  5. import httpInterceptor from '@/common/http.interceptor.js';
  6. Vue.config.productionTip = false;
  7. App.mpType = 'app'
  8. Vue.mixin(mixin);
  9. Vue.use(uView);
  10. // 线上模式禁用 console.log
  11. if(process.env.NODE_ENV === 'production') console.log = () => {};
  12. const app = new Vue({
  13. ...App
  14. });
  15. // 引入http拦截器 TODO 待请求测试
  16. // Vue.use(httpInterceptor, app);
  17. app.$mount();