main.js
1.13 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
import Vue from 'vue'
import Vant from 'vant';
import { ImagePreview } from 'vant';
import 'vant/lib/index.css';
import App from './App.vue'
import router from './router'
import store from './store'
import http from './https/api'
import Moment from 'moment'
Vue.prototype.Moment = Moment;
import common from './common/index'
Vue.prototype.common = common;
import yxAxios from '@/https/yxAxios'
Vue.prototype.yxAxios = yxAxios;
Vue.prototype.http = http;
Vue.prototype.proxyUrl = 'https://proxy.shunzhi.net/prod';
Vue.prototype.baseUrl = 'https://proxy.shunzhi.net';
// Vue.prototype.yanxueUrl = 'https://www.zlyanxue.cn';
// Vue.prototype.yanxueUrl = 'https://zlyx.shunzhi.net';
Vue.prototype.yanxueUrl = 'https://ocp.sxsedu.net/sxyx/api';
Vue.prototype.TestUnionId = 'oJPmPuLaAx2x2DaRGfCFeYuLWzLU' //夏
Vue.prototype.projectCity = '绍兴市'; //地区
Vue.prototype.projectCityCode = '0575'; //地区编码
import {zwlogPvGlobal} from './common/zwUtil.js'
Vue.prototype.$zwlogPvGlobal = zwlogPvGlobal;
Vue.use(Vant);
Vue.use(ImagePreview);
Vue.config.productionTip = false
new Vue({
router,
store,
render: h => h(App)
}).$mount('#app')