提问前先看看:
https://github.com/ryanhanwu/How-To-Ask-Questions-The-Smart-Way/blob/main/README-zh_CN.md
🐛 bug 描述
Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'setFieldsValue')
form.setFieldsValue(set({}, namePath, restoreRow));
📷 复现步骤
点击编辑,取消编辑,报错
🏞 期望结果
正确获取到form
💻 复现代码
https://procomponents.ant.design/components/table?tab=api¤t=1&pageSize=5#valuetype---%E6%97%A5%E6%9C%9F%E7%B1%BB
© 版本信息
官网bug
提问前先看看:
https://github.com/ryanhanwu/How-To-Ask-Questions-The-Smart-Way/blob/main/README-zh_CN.md
🐛 bug 描述
Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'setFieldsValue')
form.setFieldsValue(set({}, namePath, restoreRow));
📷 复现步骤
点击编辑,取消编辑,报错
🏞 期望结果
正确获取到form
💻 复现代码
https://procomponents.ant.design/components/table?tab=api¤t=1&pageSize=5#valuetype---%E6%97%A5%E6%9C%9F%E7%B1%BB
© 版本信息
官网bug