Skip to content

fix(Tabs): dropdown show #6757

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

Merged
merged 1 commit into from
Aug 6, 2023

Conversation

CCherry07
Copy link
Member

@CCherry07 CCherry07 commented Jul 18, 2023

@CCherry07 CCherry07 changed the title fix: Dropdown show fix(Tabs): dropdown show Jul 18, 2023
@CCherry07 CCherry07 requested a review from tangjinzhou July 20, 2023 11:11
@@ -142,6 +142,7 @@ export default defineComponent({
onTabClick,
popupClassName,
} = props;
if (!tabs.length) return null;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

moreNode 等于 null 就好了吧

@CCherry07 CCherry07 requested a review from tangjinzhou July 29, 2023 04:51
@tangjinzhou
Copy link
Member

没改啊 ?

@CCherry07
Copy link
Member Author

必须把这里所有的dom都要卸载掉,如果只有morenode卸载,下面的AddButton也会显示的

        <div
          class={classNames(`${prefixCls}-nav-operations`, attrs.class)}
          style={attrs.style as CSSProperties}
        >
          {moreNode}
          <AddButton prefixCls={prefixCls} locale={locale} editable={editable} />
        </div>

@wangmin0314
Copy link

改好了请艾特我一下,谢谢

@tangjinzhou tangjinzhou merged commit 531ae16 into vueComponent:main Aug 6, 2023
@huangfuwenhao
Copy link

Tabs 这个 bug 终于修复了,感谢大佬们的辛勤维护,点赞👍

Copy link

This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 23, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants