Skip to content

Commit

Permalink
add missing file
Browse files Browse the repository at this point in the history
  • Loading branch information
hank-cp committed May 5, 2020
1 parent f29ad59 commit fce6115
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions src/d2admin/plugin/util/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
import _ from 'lodash'
import moment from 'moment'
import util from '@/d2admin/libs/util'

export default {
install(Vue, options) {
Vue.prototype.$_ = _
window._ = _

Vue.prototype.$moment = moment
Vue.prototype.$util = util
}
}

0 comments on commit fce6115

Please sign in to comment.