diff --git a/src/styles/components/menu.less b/src/styles/components/menu.less index bccc221..8e5eab8 100644 --- a/src/styles/components/menu.less +++ b/src/styles/components/menu.less @@ -109,7 +109,8 @@ } &-horizontal &-submenu .@{select-dropdown-prefix-cls} { - width: 100%; + min-width: 100%; + width: auto; .@{menu-prefix-cls}-item{ height: auto; line-height: normal; diff --git a/test/routers/menu.vue b/test/routers/menu.vue index 68ed922..a7edc33 100644 --- a/test/routers/menu.vue +++ b/test/routers/menu.vue @@ -1,33 +1,20 @@