79696785

Date: 2025-07-10 09:05:35
Score: 4
Natty:
Report link
 <FormChange
      onSubmit={this.handleSubmit.bind(this)}
      password={this.state.users.password}
    />

在类组件中这样调用函数完全正确,上面博主没有使用bind这个函数或者箭头函数来改变this的指向,让this指向当组件实例

Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • No latin characters (2.5):
  • Low reputation (1):
Posted by: chengyang