付延余
2022-07-26 7c3218e12105b87cab21e9ced57c99c339ffac10
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
import App from './App'
import Vue from 'vue'
import uView from '@/uni_modules/uview-ui';
import '@/api/constant.js';
import store from './store'
 
uni.$u.config.unit = 'rpx'
Vue.use(uView)
 
 
// 请求相关
import { reqAll, reqGet, reqPost } from './utils/index.js';
Vue.prototype.$reqAll = reqAll;
Vue.prototype.$reqGet = reqGet;
Vue.prototype.$reqPost = reqPost;
 
Vue.prototype.$store = store
 
 
Vue.config.productionTip = false
 
 
App.mpType = 'app'
const app = new Vue({
    store,
    ...App
})
app.$mount()