We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
在 nextjs 使用 @ant-design/pro-form 中的 DrawerForm 组件 ,会提示 ⨯ ReferenceError: window is not defined
见 bug 描述
服务端渲染不报错
codesandbox
这行代码会导致 ssr 报错
pro-components/packages/form/src/layouts/DrawerForm/index.tsx
Line 115 in 0dede4f
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
🐛 bug 描述
在 nextjs 使用 @ant-design/pro-form 中的 DrawerForm 组件 ,会提示 ⨯ ReferenceError: window is not defined
📷 复现步骤
见 bug 描述
🏞 期望结果
服务端渲染不报错
💻 复现代码
codesandbox
© 版本信息
🚑 其他信息
这行代码会导致 ssr 报错
pro-components/packages/form/src/layouts/DrawerForm/index.tsx
Line 115 in 0dede4f
The text was updated successfully, but these errors were encountered: