|
@ -3,6 +3,8 @@ import Vue from 'vue' |
|
|
|
|
|
|
|
|
import util from './utils.js' |
|
|
import util from './utils.js' |
|
|
import time from './timeUtils.js' |
|
|
import time from './timeUtils.js' |
|
|
|
|
|
import authorize from './authorize.js' |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
import 'dayjs/locale/zh-cn' |
|
|
import 'dayjs/locale/zh-cn' |
|
|
import dayjs from 'dayjs' |
|
|
import dayjs from 'dayjs' |
|
@ -24,6 +26,7 @@ import { handleTree } from './tree.js' |
|
|
Vue.prototype.$handleTree = handleTree |
|
|
Vue.prototype.$handleTree = handleTree |
|
|
Vue.prototype.$Oss = Oss |
|
|
Vue.prototype.$Oss = Oss |
|
|
Vue.prototype.$dayjs = dayjs |
|
|
Vue.prototype.$dayjs = dayjs |
|
|
|
|
|
Vue.prototype.$authorize = authorize |
|
|
|
|
|
|
|
|
Vue.prototype.$timeUtils = time |
|
|
Vue.prototype.$timeUtils = time |
|
|
Vue.prototype.$utils = util |
|
|
Vue.prototype.$utils = util |
|
|