1234567891011121314151617181920212223242526272829303132333435 |
- import Vue from 'vue'
- import App from './App'
- import store from '@/store/index'
- import request from '@/common/request'
- import util from '@/common/util.js';
- import {
- imgHost,
- qrcode,
- callurl
- } from '@/common/env';
- import shareWechat from '@/common/shareWechat.js'
- Vue.config.productionTip = false;
- //挂载全局对象
- //Vue.prototype.$store = store
- Vue.prototype.$request = request
- Vue.prototype.$util = util
- Vue.prototype.$imgHost = imgHost
- Vue.prototype.$wechat = shareWechat
- Vue.prototype.$qrcode = qrcode
- Vue.prototype.$callurl = callurl
- Vue.prototype.$isShow = false
- // 引入colorUI
- import cuCustom from '@/components/colorui/components/cu-custom.vue'
- Vue.config.productionTip = false
- App.mpType = 'app'
- const app = new Vue({
- store,
- request,
- ...App
- })
- app.$mount()
|