update
This commit is contained in:
parent
3bc262e919
commit
5a2efc4a6c
2 changed files with 1 additions and 2 deletions
|
@ -5,7 +5,6 @@
|
||||||
</li>
|
</li>
|
||||||
</template>
|
</template>
|
||||||
<script>
|
<script>
|
||||||
import { findComponentUpward, findComponentsUpward } from '../../utils/assist';
|
|
||||||
import mixin from './mixin';
|
import mixin from './mixin';
|
||||||
const prefixCls = 'ivu-menu';
|
const prefixCls = 'ivu-menu';
|
||||||
|
|
||||||
|
|
|
@ -72,7 +72,7 @@
|
||||||
return style;
|
return style;
|
||||||
},
|
},
|
||||||
titleStyle () {
|
titleStyle () {
|
||||||
return this.hasParentSubmenu ? {
|
return this.hasParentSubmenu && this.mode !== 'horizontal' ? {
|
||||||
paddingLeft: 43 + (this.parentSubmenuNum - 1) * 24 + 'px'
|
paddingLeft: 43 + (this.parentSubmenuNum - 1) * 24 + 'px'
|
||||||
} : {};
|
} : {};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue