wvp-gb28181-project/web_src/src/main.js
648540858 9361943e47 修复ui录象播放
优化录象查询接口
2020-10-26 11:40:46 +08:00

26 lines
645 B
JavaScript

import Vue from 'vue';
import App from './App.vue';
Vue.config.productionTip = false;
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
import router from './router/index.js';
import axios from 'axios';
import VueCookies from 'vue-cookies';
import echarts from 'echarts';
import VueClipboard from 'vue-clipboard2'
Vue.use(VueClipboard)
Vue.use(ElementUI);
Vue.use(VueCookies);
Vue.prototype.$axios = axios;
axios.defaults.baseURL = (process.env.NODE_ENV === 'development') ? process.env.BASE_API : "";
Vue.prototype.$cookies.config(60*30);
new Vue({
router: router,
render: h => h(App),
}).$mount('#app')