For class component, you can use ref to access instance: // antd v4 class Demo extends React.Component { formRef = React.createRef(); componentDidMount() ...
確定! 回上一頁