zhangxiaoxu
2025-11-26 f698d1dbfe9b74cd7a4938380d4501ccf21508f9
main.js
@@ -2,6 +2,7 @@
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)
@@ -13,13 +14,14 @@
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()