Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Menu 导航菜单 expandType变为popup后被禁用的子菜单文字样式不变 #2690

Open
wdnmdezreal opened this issue Apr 10, 2023 · 2 comments

Comments

@wdnmdezreal
Copy link

wdnmdezreal commented Apr 10, 2023

tdesign-vue-next 版本

1.2.3

重现链接

No response

重现步骤

<t-menu  theme="light" height="550px" expandType="popup">
        <t-submenu value="4">
            <template #icon>
                <t-icon name="play-circle" />
            </template>
            <template #title>
                <span>视频区</span>
            </template>
            <t-menu-item value="4-1" disabled> 二级菜单内容 </t-menu-item>
            <t-menu-item value="4-2"> 二级菜单内容 </t-menu-item>
            <t-menu-item value="4-3"> 二级菜单内容 </t-menu-item>
        </t-submenu>    
    </t-menu>

期望结果

被禁用的子菜单项文字颜色变为灰色

实际结果

被禁用的子菜单项文字和没禁用的文字颜色一样为黑色

框架版本

vue3.2.47

浏览器版本

Microsoft Edge 版本 111.0.1661.41 (正式版本) (64 位)

系统版本

win11

Node版本

16.18.1

补充说明

No response

@github-actions
Copy link
Contributor

👋 @wdnmdezreal,感谢给 TDesign 提出了 issue。
请根据 issue 模版确保背景信息的完善,我们将调查并尽快回复你。

@wangyang0210
Copy link
Contributor

样式优先级导致的;
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants