| | |
| | | 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'; |
| | | import { reqAll, reqGet, reqPost, reqPut } from './utils/index.js'; |
| | | Vue.prototype.$reqAll = reqAll; |
| | | Vue.prototype.$reqGet = reqGet; |
| | | Vue.prototype.$reqPost = reqPost; |
| | | Vue.prototype.$reqPut = reqPut; |
| | | |
| | | |
| | | Vue.prototype.$store = store |
| | | |
| | | Vue.config.productionTip = false |
| | | |
| | | |
| | | App.mpType = 'app' |
| | | const app = new Vue({ |
| | | store, |
| | | ...App |
| | | }) |
| | | app.$mount() |