From 7b487076fdcff5be8b8297a9aa53f7e7e1283389 Mon Sep 17 00:00:00 2001 From: chenhaodong Date: Thu, 6 Jun 2019 17:16:07 +0800 Subject: [PATCH] fix --- src/components/mew-menu/index.js | 16 ++++++++-------- src/components/mew-menu/menu-item.vue | 20 +++++++++++++------- src/components/mew-menu/menu.vue | 24 ++++++++++++------------ src/components/mew-menu/mixin.js | 6 +++--- src/components/mew-menu/submenu.vue | 10 +++++----- src/styles/components/menu.less | 4 ++-- src/utils/assist.js | 7 +++++++ 7 files changed, 50 insertions(+), 37 deletions(-) diff --git a/src/components/mew-menu/index.js b/src/components/mew-menu/index.js index b5cd748..47ecf15 100644 --- a/src/components/mew-menu/index.js +++ b/src/components/mew-menu/index.js @@ -1,10 +1,10 @@ -import Menu from './menu.vue'; -import MenuGroup from './menu-group.vue'; -import MenuItem from './menu-item.vue'; -import Submenu from './submenu.vue'; +import MewMenu from './menu.vue'; +import MewMenuGroup from './menu-group.vue'; +import MewMenuItem from './menu-item.vue'; +import MewSubmenu from './submenu.vue'; -Menu.Group = MenuGroup; -Menu.Item = MenuItem; -Menu.Sub = Submenu; +MewMenu.Group = MewMenuGroup; +MewMenu.Item = MewMenuItem; +MewMenu.Sub = MewSubmenu; -export default Menu; \ No newline at end of file +export default MewMenu; \ No newline at end of file diff --git a/src/components/mew-menu/menu-item.vue b/src/components/mew-menu/menu-item.vue index 961be0a..4849cef 100644 --- a/src/components/mew-menu/menu-item.vue +++ b/src/components/mew-menu/menu-item.vue @@ -12,14 +12,14 @@