drdevelop / antd-pro

antd pro components
15 stars 3 forks source link

antd-form-schema-form: run error #1

Closed ardorcheng closed 1 year ago

ardorcheng commented 1 year ago

antd: v4 current version: 1.0.0-rc.3 error msg: Cannot add property current, object is not extensible useImperativeHandle

drdevelop commented 1 year ago

Sorry, I forgot forwardRef when calling useImperativeHandle in the react hook component in this version, you can try to upgrade to 1.0.0-rc.7 or above.

ardorcheng commented 1 year ago

Yeap, the version 1.0.0-rc.7 run success. Thanks!