commit | author | age | ||
e3ba12 | 1 | import App from './App' |
Z | 2 | import Vue from 'vue' |
3 | import uView from 'uni_modules/uview-ui' | |
4 | ||
5 | Vue.use(uView) | |
6 | ||
7 | Vue.config.productionTip = false | |
8 | ||
9 | App.mpType = 'app' | |
10 | ||
11 | import store from '@/store'; | |
12 | ||
13 | const app = new Vue({ | |
14 | store, | |
15 | ...App | |
16 | }) | |
17 | ||
18 | // 引入请求封装,将app参数传递到配置中 | |
19 | require('@/config/http.interceptor.js')(app) | |
20 | ||
21 | app.$mount() |