2022-04-10 01:21:21 +08:00
|
|
|
import Vue from 'vue'
|
2022-04-06 16:08:26 +08:00
|
|
|
import App from './App'
|
|
|
|
|
2022-04-20 03:08:59 +08:00
|
|
|
// 引入全局uView
|
|
|
|
import uView from '@/uni_modules/uview-ui'
|
|
|
|
|
2022-04-10 01:21:21 +08:00
|
|
|
// vuex
|
|
|
|
import store from './store'
|
|
|
|
|
2022-04-06 16:08:26 +08:00
|
|
|
Vue.config.productionTip = false
|
2022-04-10 01:21:21 +08:00
|
|
|
Vue.prototype.$store = store
|
2022-04-06 16:08:26 +08:00
|
|
|
|
2022-04-20 03:08:59 +08:00
|
|
|
|
2022-04-06 16:08:26 +08:00
|
|
|
|
|
|
|
App.mpType = 'app'
|
2022-04-10 01:21:21 +08:00
|
|
|
Vue.use(uView)
|
|
|
|
|
2022-04-06 16:08:26 +08:00
|
|
|
const app = new Vue({
|
2022-04-10 01:21:21 +08:00
|
|
|
store,
|
|
|
|
...App
|
2022-04-06 16:08:26 +08:00
|
|
|
})
|
|
|
|
|
2022-04-10 01:21:21 +08:00
|
|
|
// 引入请求封装
|
|
|
|
require('./util/request/index')(app)
|
|
|
|
|
|
|
|
app.$mount()
|