| 12345678910111213141516171819202122232425262728293031323334353637383940 | 
							- import Vue from 'vue'
 
- import App from './App'
 
- import store from '@/store';
 
- Vue.config.productionTip = false;
 
- App.mpType = 'app';
 
- // 引入全局uView
 
- import uView from 'uview-ui'
 
- Vue.use(uView)
 
- // 引入vuex
 
- const vuexStore = require("@/store/$u.mixin.js");
 
- Vue.mixin(vuexStore);
 
- import '@/common/bluetooth.js';
 
- //全局数据状态管理 vuex
 
- // import store from '@/store/index.js';
 
- // Vue.prototype.$store = store;
 
- //全局公用静态数据
 
- import Mock from '@/common/mock/index.js';
 
- Vue.prototype.$Mock = Mock;
 
- App.mpType = 'app'
 
- // 创建对象
 
- const app = new Vue({
 
- 	store,
 
-     ...App
 
- });
 
- // 接口集中管理
 
- import httpInstall from '@/http/install.js'
 
- Vue.use(httpInstall, app)
 
- // 公共函数
 
- import globalFunc from '@/utils/func.js'
 
- Vue.use(globalFunc, app);
 
- app.$mount()
 
 
  |