@jiangood/open-admin 3.0.7 → 3.0.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -48,5 +48,5 @@
48
48
  "test:e2e": "playwright test",
49
49
  "test:e2e:ui": "playwright test --ui"
50
50
  },
51
- "version": "3.0.7"
51
+ "version": "3.0.8"
52
52
  }
@@ -62,7 +62,7 @@ export default class extends React.Component {
62
62
 
63
63
  <Modal open={changePwdOpen} title="修改密码" okText="确定" cancelText="取消"
64
64
  onCancel={() => this.setState({changePwdOpen: false})}
65
- onOk={() => this.formRef?.submit()}>
65
+ onOk={() => this.formRef.current?.submit()}>
66
66
  <Form ref={this.formRef} onFinish={this.onPwdFinish} style={{maxWidth: 400}}>
67
67
  <Form.Item name='oldPassword'
68
68
  label='原密码'