diff --git a/src/utils/elementConfig.js b/src/utils/elementConfig.js index 7721383..0c25678 100644 --- a/src/utils/elementConfig.js +++ b/src/utils/elementConfig.js @@ -27,7 +27,9 @@ import { Tooltip, Popover, Pagination, - Cascader + Cascader, + Menu, + MenuItem } from 'element-ui' Vue.prototype.$message = Message @@ -61,3 +63,5 @@ Vue.use(Dropdown) Vue.use(DropdownMenu) Vue.use(DropdownItem) Vue.use(Cascader) +Vue.use(Menu) +Vue.use(MenuItem)