Skip to content

Commit

Permalink
fixed unable to use it in browser hukaibaihu#9
Browse files Browse the repository at this point in the history
  • Loading branch information
hukaibaihu committed Sep 25, 2018
1 parent 13e754c commit 9de06f8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/org-tree/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ const install = Vue => {
}

if (typeof window !== 'undefined' && window.Vue) {
window.Vue.use(OrgTree)
window.Vue.use(install)
}

export default {
install,
name: 'vue2-org-tree'
name: 'Vue2OrgTree'
}

0 comments on commit 9de06f8

Please sign in to comment.