diff --git a/src/menu/submenu.tsx b/src/menu/submenu.tsx index 8f170f79f..1c52b448a 100644 --- a/src/menu/submenu.tsx +++ b/src/menu/submenu.tsx @@ -168,7 +168,7 @@ export default defineComponent({ paddingLeft += 16; } - const needRotate = this.mode === 'popup' && this.isNested; + const needRotate = this.mode === 'popup'; const rippleVal = (this.keepAnimation as Record).ripple ? this.rippleColor : false; const normalSubmenu = [ diff --git a/test/ssr/__snapshots__/ssr.test.js.snap b/test/ssr/__snapshots__/ssr.test.js.snap index 5dfa14fb3..4c053f666 100644 --- a/test/ssr/__snapshots__/ssr.test.js.snap +++ b/test/ssr/__snapshots__/ssr.test.js.snap @@ -7559,7 +7559,7 @@ exports[`ssr snapshot test renders ./examples/menu/demos/closable-side.vue corre
  • - 信息区 + 信息区
    diff --git a/test/unit/menu/__snapshots__/demo.test.js.snap b/test/unit/menu/__snapshots__/demo.test.js.snap index b9b5869df..9fe69c166 100644 --- a/test/unit/menu/__snapshots__/demo.test.js.snap +++ b/test/unit/menu/__snapshots__/demo.test.js.snap @@ -64,7 +64,7 @@ exports[`Menu Menu closableSideVue demo works fine 1`] = ` class="t-fake-arrow" fill="none" height="16" - style="transform: rotate(0deg);" + style="transform: rotate(-90deg);" viewBox="0 0 16 16" width="16" xmlns="http://www.w3.org/2000/svg"