This commit is contained in:
zhigang.li 2018-01-22 13:16:06 +08:00
parent 3bc262e919
commit 5a2efc4a6c
2 changed files with 1 additions and 2 deletions

View file

@ -5,7 +5,6 @@
</li>
</template>
<script>
import { findComponentUpward, findComponentsUpward } from '../../utils/assist';
import mixin from './mixin';
const prefixCls = 'ivu-menu';

View file

@ -72,7 +72,7 @@
return style;
},
titleStyle () {
return this.hasParentSubmenu ? {
return this.hasParentSubmenu && this.mode !== 'horizontal' ? {
paddingLeft: 43 + (this.parentSubmenuNum - 1) * 24 + 'px'
} : {};
}