12345678910111213141516171819202122232425262728293031323334353637 |
- import Vue from 'vue'
- import App from './App'
- import api from './util/api.js'
- Vue.prototype.$myRequest = api.myRequest;
- Vue.prototype.$myRequest2 = api.myRequest2;
- Vue.prototype.$BASE_URL = api.BASE_URL;
- Vue.prototype.$websiteUrl = api.websiteUrl
- // 引入colorui组件
- import cuCustom from 'colorui/components/cu-custom.vue'
- Vue.component('cu-custom', cuCustom)
- //配置公共方法
- import common from './common/common.js'
- Vue.prototype.$noMultipleClicks = common.noMultipleClicks; // (禁止重复点击)
- import JsonExcel from 'vue-json-excel'
- Vue.component('downloadExcel', JsonExcel)
- //#ifdef H5
- import wx from '@/node_modules/jweixin-module'
- Vue.prototype.$wx = wx
- //#endif
- Vue.config.productionTip = false
- App.mpType = 'app'
- const app = new Vue({
- ...App
- })
- app.$mount()
|