import Vue from 'vue' import util from './utils.js' import time from './timeUtils.js' import 'dayjs/locale/zh-cn' import dayjs from 'dayjs' import md5 from './lib/md5.js' // #ifdef H5 import jWeixin from './lib/jweixin-module.js' import { wxPay } from './pay.js' Vue.prototype.$jWeixin = jWeixin Vue.prototype.$wxPay = wxPay // #endif dayjs.locale('zh-cn') import Oss from '@/utils/oss-upload/oss/index.js' import { handleTree } from './tree.js' Vue.prototype.$handleTree = handleTree Vue.prototype.$Oss = Oss Vue.prototype.$dayjs = dayjs Vue.prototype.$timeUtils = time Vue.prototype.$utils = util Vue.prototype.$md5 = md5