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 forceSubMenuRender 失效原因 #1668

Closed
1 task
edifierx666 opened this issue Dec 27, 2019 · 4 comments
Closed
1 task

menu forceSubMenuRender 失效原因 #1668

edifierx666 opened this issue Dec 27, 2019 · 4 comments

Comments

@edifierx666
Copy link
Contributor

edifierx666 commented Dec 27, 2019

  • I have searched the issues of this repository and believe that this is not a duplicate.

Version

1.4.10

Environment

谷歌79,vue 2.6.11

Reproduction link

https://github.com/vueComponent/ant-design-vue

Steps to reproduce

menu forceSubMenuRender 属性无效

What is expected?

forceSubMenuRender 生效

What is actually happening?

forceSubMenuRender

image
subMenu props异常
image
暂时解决

@tangjinzhou
Copy link
Member

方便的话 可以 PR 给我们

@edifierx666
Copy link
Contributor Author

edifierx666 commented Dec 30, 2019

props[k] = { ...k, required: false };

我对源码不熟, 这一行改成 props[k] = { ... tempProps[k], required: false }; 就解决了 其他不知道会有什么影响

@edifierx666
Copy link
Contributor Author

#1676

@github-actions
Copy link

This issue 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 Jun 29, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants