2023-08-10 01:16:23 +08:00
|
|
|
import Vue from 'vue'
|
|
|
|
import Api from '../api/index'
|
|
|
|
import dayjs from 'dayjs'
|
|
|
|
import './style/index.less'
|
2023-08-15 23:08:27 +08:00
|
|
|
import dayfilter from '@/utils/dayfilter'
|
2023-08-20 00:25:52 +08:00
|
|
|
import {tryToJson} from '../utils/tools'
|
2023-08-15 23:08:27 +08:00
|
|
|
dayfilter(Vue);
|
2023-08-10 01:16:23 +08:00
|
|
|
Vue.prototype.$api=Api;
|
|
|
|
Vue.prototype.$bus=new Vue();
|
|
|
|
Vue.prototype.$apiPath="/jhapi"
|
|
|
|
Vue.prototype.$dt=dayjs;
|
2023-08-20 00:25:52 +08:00
|
|
|
Vue.prototype.$tryToJson=tryToJson
|
2023-08-10 23:36:55 +08:00
|
|
|
window.jhcaches={};
|