-
Notifications
You must be signed in to change notification settings - Fork 7.2k
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
同一页面内使用多个useForm造成页面卡死 #3451
Comments
demo示例也有多个useform呀 正常的呢 https://vben.vvbin.cn/#/comp/form/tabsForm |
你可能用了validate方法,现在版本有个bUG,你需要将useFormEvents.ts内validate方法的_nameList = nameList === Array.isArray(nameList) ? nameList : undefined;改为_nameList = Array.isArray(nameList) ? nameList : undefined;就可以了 |
项目里用到了3个useForm实例,也用了validate,庆幸暂时没出bug…… |
This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days |
描述 Bug
在生产环境中同一页面内使用多个useForm造成页面卡死。
复现 Bug
在生产环境中同一页面内使用多个useForm造成页面卡死。开发环境本地可以使用多个,但是打包到生产环境后多个useForm会造成页面卡死。
系统信息
The text was updated successfully, but these errors were encountered: