import Vue from 'vue' import Api from '../api/index' import dayjs from 'dayjs' import './style/index.less' import dayfilter from '@/utils/dayfilter' import {tryToJson} from '../utils/tools' import H265Player from '../components/h265-player/index' H265Player.install(Vue); dayfilter(Vue); Vue.prototype.$api=Api; Vue.prototype.$bus=new Vue(); Vue.prototype.$apiPath="/jhapi" Vue.prototype.$dt=dayjs; Vue.prototype.$tryToJson=tryToJson window.jhcaches={}; /* Api.project.getInfo().then(d=>{ if(d.code==200){ window.__info__=d; } }) */