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

在 layout 上加载 menu 出错。 #3293

Closed
lincolnge opened this issue Oct 2, 2016 · 4 comments
Closed

在 layout 上加载 menu 出错。 #3293

lincolnge opened this issue Oct 2, 2016 · 4 comments

Comments

@lincolnge
Copy link

发生问题的环境是:

  • antd 版本:
  • 操作系统及其版本:
  • 浏览器及其版本:

您做了什么?

在 layout 上加载 menu。

您期待的结果是:

实际上的结果是:

warning.js?0260*:36Warning: React attempted to reuse markup in a container but the checksum was invalid. This generally means that you are using server rendering and the markup generated on the server was not what the client was expecting. React injected new markup to compensate which works but you have lost many of the benefits of server rendering. Instead, figure out why the markup being generated is different on the client or server:
(client) aria-owns="1475427628144_0" aria-haspopu
(server) aria-owns="1475427627467_0" aria-haspopu

可重现的在线演示

@benjycui
Copy link
Contributor

benjycui commented Oct 7, 2016

server render 的问题,最好能提供一个重现的 repo

@afc163
Copy link
Member

afc163 commented Oct 11, 2016

给重现或尝试 PR @lincolnge

@afc163
Copy link
Member

afc163 commented Oct 17, 2016

closed in react-component/menu#55

@afc163 afc163 closed this as completed Oct 17, 2016
@lock
Copy link

lock bot commented May 3, 2018

This thread has been automatically locked because it has not had recent activity. Please open a new issue for related bugs and link to relevant comments in this thread.

@lock lock bot locked as resolved and limited conversation to collaborators May 3, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants