3 Star 124 Fork 27

zmnteam / 自习室预约平台微信小程序

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
main.js 522 Bytes
一键复制 编辑 原始数据 按行查看 历史
P_Peaceful 提交于 2022-05-13 02:38 . 增加 全局请求配置
import App from './App'
import store from '@/store'
import Vue from 'vue'
import {
mapState,
mapMutations
} from 'vuex'
import uView from 'uview-ui' // 引入全局uView
Vue.use(uView)
uni.$u.config.unit = 'rpx'
let mpShare = require('uview-ui/libs/mixin/mpShare.js');
Vue.mixin(mpShare)
Vue.config.productionTip = false
Vue.prototype.$store = store
App.mpType = 'app'
const app = new Vue({
store,
...App
})
// 引入请求封装,将app参数传递到配置中
require('@/config/request.js')(app)
app.$mount()
微信
1
https://gitee.com/zmnteam/wx-study-room.git
git@gitee.com:zmnteam/wx-study-room.git
zmnteam
wx-study-room
自习室预约平台微信小程序
master

搜索帮助