Commit 5a2efc4a6cbf944a7905ece7e47210d6d5113862

Authored by zhigang.li
1 parent 3bc262e9

update

src/components/menu/menu-group.vue
... ... @@ -5,7 +5,6 @@
5 5 </li>
6 6 </template>
7 7 <script>
8   - import { findComponentUpward, findComponentsUpward } from '../../utils/assist';
9 8 import mixin from './mixin';
10 9 const prefixCls = 'ivu-menu';
11 10  
... ...
src/components/menu/submenu.vue
... ... @@ -72,7 +72,7 @@
72 72 return style;
73 73 },
74 74 titleStyle () {
75   - return this.hasParentSubmenu ? {
  75 + return this.hasParentSubmenu && this.mode !== 'horizontal' ? {
76 76 paddingLeft: 43 + (this.parentSubmenuNum - 1) * 24 + 'px'
77 77 } : {};
78 78 }
... ...