react+vite环境在使用日期组建的的方式报错
Closed this issue · 5 comments
shudj commented
描述问题:
请用一段清晰简洁的文字描述问题是什么...
截图或视频:
只要一点击日期范围的组件就会包以下错误
amis-react-demo-master1.zip
如何复现(请务必完整填写下面内容):
上传的代码可以fu'xi复现这个问题,这是找的一个开源的,代码复现,不管版本是6.0.0还是最新版本都有这个问题,
路径在pages/Examples/Form.jsx中
4. 操作步骤
运行项目,然后跳到示例页面 -> 表单页面 -> 点击检索时间,就会出现这个bug
github-actions commented
👍 Thanks for this!
🏷 I have applied any labels matching special text in your issue.
Please review the labels and make any necessary changes.
shudj commented
没有人解决这个问题么
2betop commented
src/App.tsx
262 行,注释后可解决此问题,透传了 viewMode: "pc"
到渲染器里面去了,这个属性跟 calendar 里面的不兼容,导致找不到组件
2betop commented
shudj commented
谢谢您,完美解决