src/main.js
@@ -9,13 +9,16 @@ import { Message } from 'element-ui' import PlayLive from '@/components/PlayLive' Vue.use(ElementUI) Vue.prototype.$cookies = cookies; Vue.prototype.$baseURL = apiConfig.baseURL Vue.prototype.$mapKey = apiConfig.mapKey Vue.prototype.$secretKey = apiConfig.secretKey Vue.prototype.$store = store Vue.config.productionTip = false Vue.component('PlayLive', PlayLive) /* 全局TableHeight */ Vue.prototype.$baseTableHeight = (formType) => { let height = window.innerHeight