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
1.4.1
https://codesandbox.io/p/devbox/psjzqw
使用 vue3 + vite + ssr
服务启动报错 window is not defined
代码错误文件: tdesign-mobile-vue/cjs/_util/canUseDom.js:17:53
服务正常打开,无任何报错
报错: window is not defined
window is not defined
vue(3.4.29) vite(5.3.1) express(4.19.2)
No response
v16.13.0
The text was updated successfully, but these errors were encountered:
👋 @WxSimon,感谢给 TDesign 提出了 issue。 请根据 issue 模版确保背景信息的完善,我们将调查并尽快回复你。
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
tdesign-mobile-vue 版本
1.4.1
重现链接
https://codesandbox.io/p/devbox/psjzqw
重现步骤
使用 vue3 + vite + ssr
服务启动报错 window is not defined
代码错误文件: tdesign-mobile-vue/cjs/_util/canUseDom.js:17:53
期望结果
服务正常打开,无任何报错
实际结果
报错:
window is not defined
框架版本
vue(3.4.29) vite(5.3.1) express(4.19.2)
浏览器版本
No response
系统版本
No response
Node版本
v16.13.0
补充说明
No response
The text was updated successfully, but these errors were encountered: