jiangping
2025-04-10 9f7777c83f2d07c8d83c506ab2a13bc543f47de9
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
import App from './App'
import Vue from 'vue'
import uView from "uview-ui";
import './uni.promisify.adaptor'
 
Vue.config.productionTip = false
App.mpType = 'app'
Vue.use(uView);
 
const app = new Vue({
  ...App
})
 
// http接口API抽离
import httpApi from '@/utils/http.api.js'
Vue.use(httpApi, app)
 
// 请求拦截器
import interceptor from '@/utils/http.interceptor.js'
Vue.use(interceptor, app)
 
app.$mount()